diff options
Diffstat (limited to 'parser.c')
| -rw-r--r-- | parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -460,9 +460,9 @@ static bool parse_root(struct root_node* p_node) { void parse(const char* path, struct ast* ast) { lexer_load(path); scope_push(&scope); - scope_install_default_types(scope); - ast->root_scope = scope; + scope_install_default_types(ast); + struct root_node** p_node = &ast->root_node; for (;;) { |
