diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,7 @@ StringArray include_paths; bool opt_fcommon = false; bool opt_fpic; bool opt_line_numbers; +bool opt_type_builtins; static FILE *open_file(char *path) { if (!path || strcmp(path, "-") == 0) @@ -68,9 +69,11 @@ int main(int argc, char **argv) { for (int i = 1; i < argc; i++) { if (!strcmp(argv[i], "--line-numbers")) { opt_line_numbers = 1; + } else if (!strcmp(argv[i], "--type-builtins")) { + opt_type_builtins = 1; } else { assert(!base_file); - base_file = argv[1]; + base_file = argv[i]; } } cc1(base_file); |