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