mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
'not case' expression, case variable scope change
This commit is contained in:
parent
471897a150
commit
5feb0c044b
15 changed files with 133 additions and 19 deletions
|
@ -463,6 +463,12 @@ void BfSourceClassifier::Visit(BfTokenNode* tokenNode)
|
|||
SetElementType(tokenNode, BfSourceElementType_Normal);
|
||||
}
|
||||
|
||||
void BfSourceClassifier::Visit(BfCaseExpression* caseExpr)
|
||||
{
|
||||
BfElementVisitor::Visit(caseExpr);
|
||||
SetElementType(caseExpr->mNotToken, BfSourceElementType_Keyword);
|
||||
}
|
||||
|
||||
void BfSourceClassifier::Visit(BfInvocationExpression* invocationExpr)
|
||||
{
|
||||
//BfElementVisitor::Visit(invocationExpr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue