summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-06-04 18:20:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-06-04 18:20:10 (GMT)
commitb6e656514d71bb6e0f126804902398f161082afa (patch)
tree44308089610257f8d87aea378fee56fa7dcab632 /src/pre.l
parentbc2ae28415d6344539d36f761e6a524d852073f6 (diff)
downloadDoxygen-b6e656514d71bb6e0f126804902398f161082afa.zip
Doxygen-b6e656514d71bb6e0f126804902398f161082afa.tar.gz
Doxygen-b6e656514d71bb6e0f126804902398f161082afa.tar.bz2
Bug 694147 - #undef is ignored by doxygen
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;
}