Move Diagnostics to separate namespace

This commit is contained in:
2019-06-18 16:39:36 +02:00
parent 88df299e14
commit e07d5cb7cb
11 changed files with 127 additions and 118 deletions

View File

@@ -25,7 +25,7 @@ Porygon::Script *Porygon::Script::Create(const string &script) {
}
Porygon::Script::Script() {
Diagnostics = new DiagnosticsHolder();
Diagnostics = new Diagnostics::DiagnosticsHolder();
_boundScript = nullptr;
_scriptVariables = new unordered_map<uint32_t, shared_ptr<EvalValue>>(0);
_evaluator = new Evaluator(this -> _scriptVariables);