mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Large allocation fixes
This commit is contained in:
parent
becd673914
commit
601b08fb2d
7 changed files with 36 additions and 36 deletions
|
@ -4833,9 +4833,9 @@ void BfModule::Visit(BfBreakStatement* breakStmt)
|
|||
if (checkScope == breakData->mScope)
|
||||
break;
|
||||
if (checkScope->mIsDeferredBlock)
|
||||
{
|
||||
Fail("The break target crosses a deferred block boundary", breakStmt);
|
||||
return;
|
||||
{
|
||||
Fail("The break target crosses a deferred block boundary", breakStmt);
|
||||
return;
|
||||
}
|
||||
checkScope = checkScope->mPrevScope;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue