summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index 701e02e..f46a138 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1006,7 +1006,8 @@ Define *newDefine()
void addDefine()
{
if (g_skip) return; // do not add this define as it is inside a
- // conditional section (@cond command) that is disabled.
+ // conditional section (cond command) that is disabled.
+ if (!Doxygen::gatherDefines) return;
//printf("addDefine %s %s\n",g_defName.data(),g_defArgsStr.data());
//ArgumentList *al = new ArgumentList;