Support break statements
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Porygon::Evaluation{
|
||||
shared_ptr<EvalValue> _returnValue;
|
||||
map<Utilities::HashedString, shared_ptr<EvalValue>>* _scriptVariables;
|
||||
bool _hasReturned;
|
||||
bool _hasBroken;
|
||||
shared_ptr<EvalValue> _lastValue;
|
||||
|
||||
//Porygon::Script* _scriptData;
|
||||
@@ -60,6 +61,7 @@ namespace Porygon::Evaluation{
|
||||
explicit Evaluator(map<Utilities::HashedString, shared_ptr<EvalValue>>* scriptVariables){
|
||||
_scriptVariables = scriptVariables;
|
||||
_hasReturned = false;
|
||||
_hasBroken = false;
|
||||
_returnValue = nullptr;
|
||||
_evaluationScope = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user