diff --git a/compiler/scasm/amx_compiler.h b/compiler/scasm/amx_compiler.h index 916d0a70..734f6a0b 100755 --- a/compiler/scasm/amx_compiler.h +++ b/compiler/scasm/amx_compiler.h @@ -43,6 +43,7 @@ class rpn { public: + ~rpn(); //TODO: use linked lists, but not std::list std::vector ops; std::vector vals; @@ -56,7 +57,7 @@ public: Compiler(std::string &f); void Load(std::string &f); bool Parse(); - bool Compile(); + bool Compile(std::string &out); int CurLine() { return curLine; } ErrorMngr *ErrorHandler() { return CError; } void PrintCodeList();