Remove one of implicit arrays and still working
This commit is contained in:
4
ast.cpp
4
ast.cpp
@@ -200,8 +200,7 @@ enum Ast_Decl_State{
|
||||
};
|
||||
|
||||
struct Ast_Scope: Ast{
|
||||
Array<Ast_Module *> implicit_imports;
|
||||
Array<Ast_File *> implicit_loads;
|
||||
Array<Ast_Scope *> implicit_imports;
|
||||
Array<Ast_Decl *> decls;
|
||||
Array<Ast *> stmts;
|
||||
|
||||
@@ -526,7 +525,6 @@ ast_module(Intern_String filename){
|
||||
result->module = result;
|
||||
result->file = result;
|
||||
result->all_loaded_files = {pctx->heap};
|
||||
result->implicit_loads = {pctx->heap};
|
||||
result->implicit_imports = {pctx->heap};
|
||||
result->decls = {pctx->heap};
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user