diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,6 @@ #include "lexer.h" #include "parser.h" +#include "codegen.h" #include <stdlib.h> #include <stdio.h> @@ -35,8 +36,6 @@ void test_lexer(int argc, char** argv) { } } -void gdb_break_here() {} - void test_parser(int argc, char** argv) { struct root_node* root; struct root_node** p_cur = &root; @@ -44,7 +43,8 @@ void test_parser(int argc, char** argv) { *p_cur = parse(argv[i]); p_cur = &((*p_cur)->next); } - gdb_break_here(); + + emit_code(root, "test/simple.s"); ast_destroy(root); } |
