Remove one of implicit arrays and still working

This commit is contained in:
Krzosa Karol
2022-06-13 15:05:47 +02:00
parent 4b16439a14
commit a929e0b5ec
5 changed files with 9 additions and 16 deletions

View File

@@ -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;