Move types to Core_Ctx
This commit is contained in:
@@ -973,7 +973,7 @@ parse_file(Ast_File *file){
|
||||
|
||||
set_flag(decl->flags, AST_GLOBAL);
|
||||
if(decl->kind == AST_STRUCT){
|
||||
decl->type = type_type;
|
||||
decl->type = pctx->type_type;
|
||||
decl->type_val = type_incomplete(decl);
|
||||
decl->state = DECL_RESOLVED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user