Fixed #error ignoring #if blocks

This commit is contained in:
Steve Dudenhoeffer 2007-02-16 18:49:21 +00:00
parent bfd4e345dd
commit 39d6cb7840

View File

@ -1344,7 +1344,8 @@ static int command(void)
case tpERROR: case tpERROR:
while (*lptr<=' ' && *lptr!='\0') while (*lptr<=' ' && *lptr!='\0')
lptr++; lptr++;
error(111,lptr); /* user error */ if (!SKIPPING)
error(111,lptr); /* user error */
break; break;
default: default:
error(31); /* unknown compiler directive */ error(31); /* unknown compiler directive */