aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-12 22:24:35 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-12 22:24:35 +0800
commitbbce3104de593c90b10778a379728f982bc3fdcb (patch)
treea7dc481f72b14dc454c60b3384d1ba11b3fdefc8 /main.c
parent85d862310c2e00361f68c317c6256b29f18eae36 (diff)
typedef now works
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); */