Skip to content

Commit

Permalink
Merge pull request #3 from vladimirdabic/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
vladimirdabic authored Nov 15, 2023
2 parents 2d83219 + 72fa075 commit 700aa3a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Blaze Core/Interpreter/Interpreter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -653,13 +653,18 @@ private void Throw()
if (_exceptionStack.Count != 0)
{
_current = _exceptionStack.Pop();
return;
}
else if(_contexts.Count != 0)
{
// Go back up one call
PopContext();
}
} while (_contexts.Count != 0);
else
{
break;
}
} while (true);

throw new InterpreterException(Stack.Pop(), this, (module_name, _line));
}
Expand Down

0 comments on commit 700aa3a

Please sign in to comment.