1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

'not case' expression, case variable scope change

This commit is contained in:
Brian Fiete 2025-02-22 09:56:39 -08:00
parent 471897a150
commit 5feb0c044b
15 changed files with 133 additions and 19 deletions

View file

@ -2080,6 +2080,8 @@ void BfPrinter::Visit(BfCaseExpression* caseExpr)
{
VisitChild(caseExpr->mValueExpression);
ExpectSpace();
VisitChild(caseExpr->mNotToken);
ExpectSpace();
VisitChild(caseExpr->mCaseToken);
BF_ASSERT(caseExpr->mEqualsNode == NULL);
ExpectSpace();