Fixed a bug: .ENDPROC without .PROC would crash the assembler

git-svn-id: svn://svn.cc65.org/cc65/trunk@2027 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-03-17 10:14:43 +00:00
parent 53518d59c9
commit 7d350d3f61
5 changed files with 31 additions and 13 deletions

View File

@@ -73,6 +73,9 @@ void SymEnterLevel (void);
void SymLeaveLevel (void);
/* Leave the current lexical level */
int SymIsLocalLevel (void);
/* Return true if we ae on a local symbol table level. */
void SymDef (const char* Name, ExprNode* Expr, int ZP, int Label);
/* Define a new symbol */
@@ -104,7 +107,7 @@ void SymGlobal (const char* Name);
/* Mark the given symbol as a global symbol, that is, as a symbol that is
* either imported or exported.
*/
void SymGlobalZP (const char* Name);
/* Mark the given symbol as a global zeropage symbol, that is, as a symbol
* that is either imported or exported.