1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed parsing of ternary expressions with string literal results

This commit is contained in:
Brian Fiete 2020-11-30 09:47:37 -08:00
parent 77946cafdf
commit 12fa5614d3

View file

@ -3284,7 +3284,7 @@ void BfParser::ParseBlock(BfBlock* astNode, int depth, bool isInterpolate)
isAsmBlock = true; isAsmBlock = true;
} }
NextToken(-1, isInterpolate); NextToken(-1, isInterpolate && (parenDepth == 0));
if (mPreprocessorIgnoredSectionNode != NULL) if (mPreprocessorIgnoredSectionNode != NULL)
{ {