summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 4cb163b..59b542d 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1240,9 +1240,9 @@ BN [ \t\r\n]
}
<IgnoreLine>.
<Command>.
-<UndefName>{ID} {
+<UndefName>{ID} {
Define *def;
- if ((def=isDefined(yytext)))
+ if ((def=isDefined(yytext)) && !def->isPredefined)
{
//printf("undefining %s\n",yytext);
def->undef=TRUE;