Adding parent nodes to asts

This commit is contained in:
Krzosa Karol
2022-05-27 16:19:18 +02:00
parent 8fb29e21d1
commit 798453c7db
6 changed files with 47 additions and 57 deletions

View File

@@ -278,7 +278,7 @@ gen_ast(Ast *ast){
gen("String %s = LIT(\"%s\");", node->name.str, sym->intern_val.str);
}
else if(sym->type == type_type){
gen("typedef ");
gen("// typedef ");
gen_simple_decl(sym->type_val, node->name);
gen(";");
}