diff options
| author | Carson Fleming <[email protected]> | 2026-03-26 19:46:35 -0700 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2026-03-26 19:46:35 -0700 |
| commit | 28157efe6ef65394d8930a79200b9243ee919f47 (patch) | |
| tree | 5dd492ae8d27e99d066b88e76f5304fad270ee11 /main.c | |
| parent | 2e4f713ede25fb6147571858779fde542144c76f (diff) | |
| download | ccc-28157efe6ef65394d8930a79200b9243ee919f47.tar.gz | |
mostly there except need to implement one more hash map
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); } |
