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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user