diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-09-27 23:34:29 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-09-27 23:34:29 -0400 |
commit | 991d739bb02b3506da5a0af0edd9a4fd505373a3 (patch) | |
tree | 75b32cd37e9a99f5609171f2a9156d2f2dc3f13f /main.c | |
parent | 685460f382e2e7039bd6ddf5c336abdb803a0372 (diff) |
added converter from named arguments to non-named
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2,8 +2,11 @@ TODO: named args optional params +char type +string constants are []char evaluator (simplify compile time constant expressions) re-do cgen +any odd number of "s for a string */ #include "toc.c" @@ -61,13 +64,16 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } + fprint_parsed_file(stdout, &f); + + printf("\n\n-----\n\n"); block_enter(NULL, &f.stmts); /* enter global scope */ if (!types_file(&f)) { err_fprint(TEXT_IMPORTANT("Errors occured while determining types.\n")); return EXIT_FAILURE; } - + parse_printing_after_types = true; fprint_parsed_file(stdout, &f); tokr_free(&t); |