mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Improved CLI interface
This commit is contained in:
parent
7fad1802cf
commit
bd11b5eb90
@ -43,6 +43,7 @@
|
|||||||
class rpn
|
class rpn
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
~rpn();
|
||||||
//TODO: use linked lists, but not std::list
|
//TODO: use linked lists, but not std::list
|
||||||
std::vector<char> ops;
|
std::vector<char> ops;
|
||||||
std::vector<CExpr> vals;
|
std::vector<CExpr> vals;
|
||||||
@ -56,7 +57,7 @@ public:
|
|||||||
Compiler(std::string &f);
|
Compiler(std::string &f);
|
||||||
void Load(std::string &f);
|
void Load(std::string &f);
|
||||||
bool Parse();
|
bool Parse();
|
||||||
bool Compile();
|
bool Compile(std::string &out);
|
||||||
int CurLine() { return curLine; }
|
int CurLine() { return curLine; }
|
||||||
ErrorMngr *ErrorHandler() { return CError; }
|
ErrorMngr *ErrorHandler() { return CError; }
|
||||||
void PrintCodeList();
|
void PrintCodeList();
|
||||||
|
Loading…
Reference in New Issue
Block a user