Fix #strict regression, adding Any and Type_Info
This commit is contained in:
@@ -734,10 +734,10 @@ parse_decl(B32 is_global){
|
||||
}
|
||||
}
|
||||
|
||||
Ast_Flag flags = 0;
|
||||
Token *tname = token_get();
|
||||
if(token_match(TK_Identifier, TK_DoubleColon)){
|
||||
|
||||
Ast_Flag flags = 0;
|
||||
if(token_match_pound(intern_foreign)){
|
||||
set_flag(flags, AST_FOREIGN);
|
||||
} else if(token_match_pound(intern_strict)){
|
||||
@@ -794,6 +794,7 @@ parse_decl(B32 is_global){
|
||||
}
|
||||
|
||||
if(result){
|
||||
set_flag(result->flags, flags);
|
||||
result->name = tname->intern_val;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user