Fixed labels so they can be referenced before creation.

Cleaned up symbol parsing code.
Reversed order of public table.
Fixed bug with macro arguments.
This commit is contained in:
David Anderson
2004-08-09 08:43:27 +00:00
parent b14708d6f2
commit 85afb2a823
11 changed files with 238 additions and 275 deletions

View File

@ -83,8 +83,10 @@ public:
void Clear();
int CipCount();
int CurCip() { return lastCip; }
Asm *CurAsm() { return curAsm; }
bool SetDebug();
public: //private
int DerefSymbol(std::string &str, SymbolType sym = Sym_None);
void ProcessDirective(std::string &text);
void Init();
void InitOpcodes();
@ -110,6 +112,7 @@ private:
int cellsize;
int stacksize;
bool debug;
Asm *curAsm;
};
#endif //_INCLUDE_AMXCOMPILER_H