mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Const lhs handling of ??, cond var assignment in CreateConditionalScope
This commit is contained in:
parent
4c499cc498
commit
ae53196e74
5 changed files with 65 additions and 11 deletions
|
@ -3667,7 +3667,7 @@ void BfModule::DoIfStatement(BfIfStatement* ifStmt, bool includeTrueStmt, bool i
|
|||
UpdateSrcPos(ifStmt);
|
||||
|
||||
BfScopeData newScope;
|
||||
newScope.mOuterIsConditional = true;
|
||||
newScope.mOuterIsConditional = true;
|
||||
newScope.mScopeKind = BfScopeKind_StatementTarget;
|
||||
if (ifStmt->mLabelNode != NULL)
|
||||
newScope.mLabelNode = ifStmt->mLabelNode->mLabel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue