pattern: Fixed continue and break statements in structs
This commit is contained in:
parent
cf89cbe662
commit
355b99c68f
@ -1009,6 +1009,8 @@ namespace hex::pl {
|
||||
LogConsole::abortEvaluation(hex::format("array grew past set limit of {}", limit), this);
|
||||
|
||||
for (u64 i = 0; i < entryCount; i++) {
|
||||
evaluator->setCurrentControlFlowStatement(ControlFlowStatement::None);
|
||||
|
||||
auto patterns = this->m_type->createPatterns(evaluator);
|
||||
|
||||
if (!patterns.empty())
|
||||
@ -1028,6 +1030,8 @@ namespace hex::pl {
|
||||
if (entryIndex > limit)
|
||||
LogConsole::abortEvaluation(hex::format("array grew past set limit of {}", limit), this);
|
||||
|
||||
evaluator->setCurrentControlFlowStatement(ControlFlowStatement::None);
|
||||
|
||||
auto patterns = this->m_type->createPatterns(evaluator);
|
||||
|
||||
if (!patterns.empty())
|
||||
@ -1048,6 +1052,8 @@ namespace hex::pl {
|
||||
if (entryIndex > limit)
|
||||
LogConsole::abortEvaluation(hex::format("array grew past set limit of {}", limit), this);
|
||||
|
||||
evaluator->setCurrentControlFlowStatement(ControlFlowStatement::None);
|
||||
|
||||
auto patterns = this->m_type->createPatterns(evaluator);
|
||||
|
||||
if (!patterns.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user