aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 08655f0..91bcc17 100644
--- a/main.c
+++ b/main.c
@@ -55,7 +55,8 @@ void print_sem() {
void print_ssa() {
cibic_init();
yyparse();
- ssa_generate(semantics_check(ast_root));
+ semantics_check(ast_root);
+ ssa_generate();
}
void print_help() {