1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-23 01:58:00 +02:00

Fixed formatting with test immediately after comment

This commit is contained in:
Brian Fiete 2020-07-01 13:35:33 -07:00
parent cfff1d6bc4
commit bf79d6c678

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);