--- linuxsampler/trunk/src/scriptvm/tree.h 2014/06/01 00:28:46 2587 +++ linuxsampler/trunk/src/scriptvm/tree.h 2014/06/01 14:44:38 2588 @@ -497,9 +497,9 @@ void* scanner; std::istream* is; - std::vector errors; - std::vector warnings; - std::vector issues; + std::vector vErrors; + std::vector vWarnings; + std::vector vIssues; std::set builtinPreprocessorConditions; std::set userPreprocessorConditions; @@ -518,6 +518,7 @@ ArrayList* globalIntMemory; ArrayList* globalStrMemory; + int requiredMaxStackSize; VMFunctionProvider* functionProvider; @@ -526,11 +527,11 @@ ParserContext(VMFunctionProvider* parent) : scanner(NULL), is(NULL), globalIntVarCount(0), globalStrVarCount(0), polyphonicIntVarCount(0), - globalIntMemory(NULL), globalStrMemory(NULL), functionProvider(parent), - execContext(NULL) + globalIntMemory(NULL), globalStrMemory(NULL), requiredMaxStackSize(-1), + functionProvider(parent), execContext(NULL) { } - virtual ~ParserContext() { destroyScanner(); } + virtual ~ParserContext(); VariableRef globalVar(const String& name); IntVariableRef globalIntVar(const String& name); StringVariableRef globalStrVar(const String& name); @@ -542,6 +543,11 @@ bool setPreprocessorCondition(const char* name); bool resetPreprocessorCondition(const char* name); bool isPreprocessorConditionSet(const char* name); + std::vector issues() const OVERRIDE; + std::vector errors() const OVERRIDE; + std::vector warnings() const OVERRIDE; + VMEventHandler* eventHandler(uint index) OVERRIDE; + VMEventHandler* eventHandlerByName(const String& name) OVERRIDE; }; class ExecContext : public VMExecContext { @@ -588,7 +594,7 @@ stackFrame = -1; } - int suspensionTimeMicroseconds() const { + int suspensionTimeMicroseconds() const OVERRIDE { return suspendMicroseconds; } };