Add support for non Specifier enum SuffixSpecs in AST_Fn and parsing (Thanks Unreal)

This commit is contained in:
ed committed 2025-01-29 01:29:55 -05:00
1 parent 16fc3fa379
commit ce2be411d7
7 files changed
+34 -3

No files matched your search

+3
View File
@@ -550,6 +550,9 @@ void lex_found_token( LexContext* ctx )
if ( bitfield_is_set(MacroFlags, macro->Flags, MF_Allow_As_Attribute) ) {
ctx->token.Flags |= TF_Attribute;
}
if ( bitfield_is_set(MacroFlags, macro->Flags, MF_Allow_As_Specifier ) ) {
ctx->token.Flags |= TF_Specifier;
}
}
else
{