Fix 5222f1d35c for inactive preprocessor conditional block
This commit is contained in:
@@ -538,7 +538,7 @@ namespace Flax.Build.Bindings
|
|||||||
if (token.Type == TokenType.Preprocessor)
|
if (token.Type == TokenType.Preprocessor)
|
||||||
{
|
{
|
||||||
OnPreProcessorToken(ref context, ref token);
|
OnPreProcessorToken(ref context, ref token);
|
||||||
while (token.Type == TokenType.Newline)
|
while (token.Type == TokenType.Newline || token.Value == "endif")
|
||||||
token = context.Tokenizer.NextToken();
|
token = context.Tokenizer.NextToken();
|
||||||
}
|
}
|
||||||
if (token.Type == TokenType.Colon)
|
if (token.Type == TokenType.Colon)
|
||||||
|
|||||||
Reference in New Issue
Block a user