Improved CLI interface

This commit is contained in:
David Anderson 2004-08-11 09:42:15 +00:00
parent 7fad1802cf
commit bd11b5eb90

View File

@ -43,6 +43,7 @@
class rpn
{
public:
~rpn();
//TODO: use linked lists, but not std::list
std::vector<char> ops;
std::vector<CExpr> 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();