Core: Brought back named loads which are a bit counter intuitive
This commit is contained in:
@@ -920,7 +920,12 @@ parse_decl(B32 is_global) {
|
||||
result = parse_enum(tname);
|
||||
}
|
||||
|
||||
else if (token_match_pound(pctx->intern("import"_s))) {
|
||||
else if (token_match_pound(pctx->intern_load)) {
|
||||
Ast_File *file = parse_load(false);
|
||||
result = ast_namespace(tname, file, tname->intern_val);
|
||||
}
|
||||
|
||||
else if (token_match_pound(pctx->intern_import)) {
|
||||
Ast_Module *module = parse_import(false);
|
||||
result = ast_namespace(tname, module, tname->intern_val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user