aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b156466..03ce9ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
+#include "codegen.h"
#include "errors.h"
#include "lexer.h"
#include "parser.h"
@@ -24,6 +25,7 @@ main(int argc, char **argv)
struct lexemes_soa toks = lexstring(src, srclen);
struct ast_soa ast = parsetoks(toks);
+ codegen(ast, toks);
#if DEBUG
free(src);