mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed raw array alloc reformatting
This commit is contained in:
parent
4a858dfe4a
commit
95ef992ec4
1 changed files with 7 additions and 7 deletions
|
@ -1588,6 +1588,12 @@ void BfPrinter::Visit(BfObjectCreateExpression* newExpr)
|
|||
|
||||
VisitChild(newExpr->mTypeRef);
|
||||
|
||||
if (newExpr->mStarToken != NULL)
|
||||
{
|
||||
VisitChild(newExpr->mStarToken);
|
||||
ExpectSpace();
|
||||
}
|
||||
|
||||
VisitChild(newExpr->mOpenToken);
|
||||
for (int i = 0; i < (int)newExpr->mArguments.size(); i++)
|
||||
{
|
||||
|
@ -1598,13 +1604,7 @@ void BfPrinter::Visit(BfObjectCreateExpression* newExpr)
|
|||
}
|
||||
VisitChild(newExpr->mArguments[i]);
|
||||
}
|
||||
VisitChild(newExpr->mCloseToken);
|
||||
|
||||
if (newExpr->mStarToken != NULL)
|
||||
{
|
||||
VisitChild(newExpr->mStarToken);
|
||||
ExpectSpace();
|
||||
}
|
||||
VisitChild(newExpr->mCloseToken);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfBoxExpression* boxExpr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue