summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pre.l b/src/pre.l
index 4c017da..2dafbde 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -232,6 +232,7 @@ class DefineManager
Define *isDefined(const char *name) const
{
Define *d = m_contextDefines.find(name);
+ if (d && d->undef) d=0;
//printf("isDefined(%s)=%p\n",name,d);
return d;
}