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:
@@ -379,12 +379,20 @@ void SymEnterLevel (void)
|
||||
|
||||
void SymLeaveLevel (void)
|
||||
/* Leave the current lexical level */
|
||||
{
|
||||
{
|
||||
SymTab = SymTab->BackLink;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int SymIsLocalLevel (void)
|
||||
/* Return true if we ae on a local symbol table level. */
|
||||
{
|
||||
return (SymTab != RootTab);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void SymDef (const char* Name, ExprNode* Expr, int ZP, int Label)
|
||||
/* Define a new symbol */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user