1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-05 15:56:00 +02:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
bfiete 2020-07-01 13:52:31 -07:00
commit a1b162e87f

View file

@ -541,7 +541,7 @@ void BfPrinter::WriteIgnoredNode(BfAstNode* node)
FlushIndent();
for (int idx = startIdx; idx <= srcIdx; idx++)
for (int idx = startIdx; idx <= BF_MIN(srcIdx, endIdx - 1); idx++)
{
char c = astNodeSrc->mSrc[idx];
mOutString.Append(c);