diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-13 01:07:24 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-13 01:07:24 +0100 |
| commit | f5bc95eb349c75c8378a0a35104fd763db7742a1 (patch) | |
| tree | 89a145e36ffc3456a491290d6165ed0a90934e2c /src/main.cpp | |
| parent | fb8fa5217d4a5081dacc0a74a786cd2efc964fdb (diff) | |
More culling
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index b38a23b5f..d9630a38a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2221,6 +2221,11 @@ int strip_semicolons(Parser *parser) { int main(int arg_count, char const **arg_ptr) { #define TIME_SECTION(str) do { debugf("[Section] %s\n", str); timings_start_section(&global_timings, str_lit(str)); } while (0) + #define TYPE_KIND(k, ...) gb_printf("%s %td\n", #k, sizeof(Type##k)); + TYPE_KINDS + #undef TYPE_KIND + gb_printf("Type %td\n", sizeof(Type)); + if (arg_count < 2) { usage(make_string_c(arg_ptr[0])); return 1; |