diff --git a/source/compiler/sc2.c b/source/compiler/sc2.c index b4c97ddd..181c02ab 100644 --- a/source/compiler/sc2.c +++ b/source/compiler/sc2.c @@ -1558,8 +1558,10 @@ static int command(void) } /* if */ break; default: - error(31); /* unknown compiler directive */ - ret=SKIPPING ? CMD_CONDFALSE : CMD_NONE; /* process as normal line */ + if (!SKIPPING) { + error(31); /* unknown compiler directive */ + ret=CMD_NONE; /* process as normal line */ + } } /* switch */ return ret; }