Merge pull request #427 from Y-Less/Branch_ignored_directives
Ignore `#if`d out unknown directives.
This commit is contained in:
commit
b2eca9203b
@ -1590,8 +1590,10 @@ static int command(void)
|
|||||||
} /* if */
|
} /* if */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error(31); /* unknown compiler directive */
|
if (!SKIPPING) {
|
||||||
ret=SKIPPING ? CMD_CONDFALSE : CMD_NONE; /* process as normal line */
|
error(31); /* unknown compiler directive */
|
||||||
|
ret=CMD_NONE; /* process as normal line */
|
||||||
|
}
|
||||||
} /* switch */
|
} /* switch */
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user