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:
parent
77946cafdf
commit
12fa5614d3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue