Add the label/equate bit to the exports and debug symbols

git-svn-id: svn://svn.cc65.org/cc65/trunk@876 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-08 21:08:20 +00:00
parent 522ddabc35
commit cd53882eed
4 changed files with 36 additions and 18 deletions

View File

@@ -181,7 +181,7 @@ static void DefineSymbol (const char* Def)
}
/* Define the symbol */
SymDef (SymName, LiteralExpr (Val), 0);
SymDef (SymName, LiteralExpr (Val), 0, 0);
}
@@ -386,12 +386,12 @@ static void OneLine (void)
/* Skip the '=' */
NextTok ();
/* Define the symbol with the expression following the '=' */
SymDef (Ident, Expression (), 0);
SymDef (Ident, Expression(), 0, 0);
/* Don't allow anything after a symbol definition */
Done = 1;
} else {
/* Define a label */
SymDef (Ident, CurrentPC (), IsZPSeg ());
SymDef (Ident, CurrentPC(), IsZPSeg(), 1);
/* Skip the colon. If NoColonLabels is enabled, allow labels
* without a colon if there is no whitespace before the
* identifier.