diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index ada1f4951..3dbf41fe5 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -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);