From bd11b5eb90ff1ab48fc23c21dc0d0e7245042ada Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 11 Aug 2004 09:42:15 +0000 Subject: [PATCH] Improved CLI interface --- compiler/scasm/amx_compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();