1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Brian Fiete 2023-01-13 07:02:06 -05:00
commit 5b80116c8d
3 changed files with 4 additions and 4 deletions

View file

@ -2146,7 +2146,7 @@ void BfParser::NextToken(int endIdx, bool outerIsInterpolate, bool disablePrepro
newBlock->SetSrcEnd(mSrcIdx);
mSrcIdx--;
}
else if ((mSyntaxToken == BfSyntaxToken_EOF) || (mSyntaxToken == BfSyntaxToken_StringQuote))
else if (mSyntaxToken == BfSyntaxToken_StringQuote)
{
mSrcIdx--;
mPassInstance->FailAfterAt("Expected '}'", mSourceData, newBlock->GetSrcEnd() - 1);
@ -4205,4 +4205,4 @@ BF_EXPORT void BF_CALLTYPE BfParser_GetLineCharAtIdx(BfParser* bfParser, int idx
BF_EXPORT int BF_CALLTYPE BfParser_GetIndexAtLine(BfParser* bfParser, int line)
{
return bfParser->GetIndexAtLine(line);
}
}