Remove one of implicit arrays and still working
This commit is contained in:
@@ -599,14 +599,13 @@ register_ast_file(Intern_String filename, Ast_Module *module, B32 global_implici
|
||||
file->module = module;
|
||||
file->file = file; // @warning: self referential!
|
||||
file->decls = {pctx->heap};
|
||||
file->implicit_loads = {pctx->heap};
|
||||
file->implicit_imports = {pctx->heap};
|
||||
file->module->all_loaded_files.add(file);
|
||||
}
|
||||
|
||||
if(global_implicit_load) {
|
||||
file->global_implicit_load = true;
|
||||
module->implicit_loads.add(file);
|
||||
module->implicit_imports.add(file);
|
||||
}
|
||||
|
||||
return file;
|
||||
|
||||
Reference in New Issue
Block a user