Fixed a bug in the .ERROR directive
git-svn-id: svn://svn.cc65.org/cc65/trunk@202 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
1c715a5ee3
commit
2311661a0e
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ static void DoEndProc (void)
|
|||
static void DoError (void)
|
||||
/* Use error */
|
||||
{
|
||||
if (Tok == TOK_STRCON) {
|
||||
if (Tok != TOK_STRCON) {
|
||||
ErrorSkip (ERR_STRCON_EXPECTED);
|
||||
} else {
|
||||
Error (ERR_USER, SVal);
|
||||
|
|
Loading…
Add table
Reference in a new issue