aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index dafcf29..df9807a 100644
--- a/main.c
+++ b/main.c
@@ -39,11 +39,13 @@ void print_ast() {
fprintf(stderr, "AST for file: \"%s\"\n", fname);
else
fprintf(stderr, "AST for stdin\n");
+ cibic_init();
yyparse();
cnode_debug_print(ast_root, 1);
}
void print_sem() {
+ cibic_init();
yyparse();
semantics_check(ast_root);
/* cnode_debug_print(ast_root, 1); */