Load cannot be namespaced anymore due to weird namespace behaviour that this creates.
I need to add a way to import but force evaluation of everything in the future to make that up.
This commit is contained in:
@@ -821,11 +821,6 @@ parse_decl(B32 is_global){
|
||||
result = parse_enum(tname);
|
||||
}
|
||||
|
||||
else if(token_match_pound(pctx->intern("load"_s))){
|
||||
Ast_File *file = parse_load(false);
|
||||
result = ast_file_namespace(tname, file, tname->intern_val);
|
||||
}
|
||||
|
||||
else if(token_match_pound(pctx->intern("import"_s))){
|
||||
Ast_Module *module = parse_import(false);
|
||||
result = ast_module_namespace(tname, module, tname->intern_val);
|
||||
|
||||
Reference in New Issue
Block a user