summaryrefslogtreecommitdiff
path: root/codegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'codegen.c')
-rw-r--r--codegen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/codegen.c b/codegen.c
index cfb4cca..d6f212a 100644
--- a/codegen.c
+++ b/codegen.c
@@ -184,6 +184,8 @@ void emit_code(const struct root_node* ast, const char* path) {
fprintf(outfile, "section .text\n");
scope_push(&scope);
+ /* TODO: register all basic types */
+
/* output all non-static function declarations as globals */
const struct root_node* node = ast;
while (node != NULL) {