1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

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:
cuz 2000-07-27 06:38:22 +00:00
parent 1c715a5ee3
commit 2311661a0e

View File

@ -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);