Assertion checks were the wrong way round

git-svn-id: svn://svn.cc65.org/cc65/trunk@2205 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-06-06 21:09:36 +00:00
parent 3853a88127
commit cdedb31199
6 changed files with 61 additions and 61 deletions

View File

@@ -183,7 +183,7 @@ static void DefineSymbol (const char* Def)
}
/* Define the symbol */
SymDef (SymName, LiteralExpr (Val), 0, 0);
SymDef (SymName, GenLiteralExpr (Val), 0, 0);
}
@@ -389,7 +389,7 @@ static void OneLine (void)
Done = 1;
} else {
/* Define a label */
SymDef (Ident, CurrentPC(), IsZPSeg(), 1);
SymDef (Ident, GenCurrentPC(), IsZPSeg(), 1);
/* Skip the colon. If NoColonLabels is enabled, allow labels
* without a colon if there is no whitespace before the
* identifier.