diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,6 +52,7 @@ process_source(const StringView *source, const char *file_name) { | |||
52 | 52 | ||
53 | // Symbol table generation and type checking. | 53 | // Symbol table generation and type checking. |
54 | ParseTree *parse_tree = semantic_analysis(roots); | 54 | ParseTree *parse_tree = semantic_analysis(roots); |
55 | check_errors(file_name); | ||
55 | if (mode == PRINT_SEMANTIC) { | 56 | if (mode == PRINT_SEMANTIC) { |
56 | viz_ast(parse_tree->roots); | 57 | viz_ast(parse_tree->roots); |
57 | return; | 58 | return; |