mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Fixed mBaseClassCommas printing
This commit is contained in:
parent
7f0fb7e737
commit
f7dbe88169
1 changed files with 3 additions and 2 deletions
|
@ -3035,10 +3035,11 @@ void BfPrinter::Visit(BfTypeDeclaration* typeDeclaration)
|
||||||
ExpectSpace();
|
ExpectSpace();
|
||||||
QueueVisitChild(typeDeclaration->mBaseClasses[i]);
|
QueueVisitChild(typeDeclaration->mBaseClasses[i]);
|
||||||
if (nextCommaIdx >= 0)
|
if (nextCommaIdx >= 0)
|
||||||
{
|
|
||||||
QueueVisitChild(typeDeclaration->mBaseClassCommas.GetSafe(nextCommaIdx));
|
QueueVisitChild(typeDeclaration->mBaseClassCommas.GetSafe(nextCommaIdx));
|
||||||
}
|
nextCommaIdx++;
|
||||||
}
|
}
|
||||||
|
if (nextCommaIdx >= 0)
|
||||||
|
QueueVisitChild(typeDeclaration->mBaseClassCommas.GetSafe(nextCommaIdx));
|
||||||
ExpectSpace();
|
ExpectSpace();
|
||||||
}
|
}
|
||||||
QueueVisitChild(typeDeclaration->mGenericConstraintsDeclaration);
|
QueueVisitChild(typeDeclaration->mGenericConstraintsDeclaration);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue