mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Set BfScopeKind_StatementTarget_Conditional in 'while'
This commit is contained in:
parent
ae53196e74
commit
d5485d25e3
1 changed files with 1 additions and 0 deletions
|
@ -5649,6 +5649,7 @@ void BfModule::Visit(BfWhileStatement* whileStmt)
|
|||
|
||||
mCurMethodState->mInHeadScope = false;
|
||||
BfScopeData scopeData;
|
||||
scopeData.mScopeKind = BfScopeKind_StatementTarget_Conditional;
|
||||
scopeData.mIsLoop = true;
|
||||
if (whileStmt->mLabelNode != NULL)
|
||||
scopeData.mLabelNode = whileStmt->mLabelNode->mLabel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue