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:
parent
cfff1d6bc4
commit
bf79d6c678
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue