summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-02-15 14:23:02 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-02-15 14:23:02 (GMT)
commite2157cd6d65297339419e73b53e01a7d2cd25d2c (patch)
tree3e5bf6b8bb564e03f9cabf403a80c57793bf23ef
parentc8d3befccbfbba83c2c0509dc23d53144177aa94 (diff)
downloadDoxygen-e2157cd6d65297339419e73b53e01a7d2cd25d2c.zip
Doxygen-e2157cd6d65297339419e73b53e01a7d2cd25d2c.tar.gz
Doxygen-e2157cd6d65297339419e73b53e01a7d2cd25d2c.tar.bz2
Removed Doxygen::gatherDefines as it was not used anymore
-rw-r--r--src/doxygen.cpp1
-rw-r--r--src/doxygen.h1
-rw-r--r--src/pre.l1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index f6e8d09..5f5d3ce 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -163,7 +163,6 @@ bool Doxygen::suppressDocWarnings = FALSE;
QCString Doxygen::objDBFileName;
QCString Doxygen::entryDBFileName;
QCString Doxygen::filterDBFileName;
-bool Doxygen::gatherDefines = TRUE;
IndexList *Doxygen::indexList;
int Doxygen::subpageNestingLevel = 0;
bool Doxygen::userComments = FALSE;
diff --git a/src/doxygen.h b/src/doxygen.h
index 19136c3..f08be86 100644
--- a/src/doxygen.h
+++ b/src/doxygen.h
@@ -140,7 +140,6 @@ class Doxygen
static QCString entryDBFileName;
static QCString filterDBFileName;
static CiteDict *citeDict;
- static bool gatherDefines;
static bool userComments;
static IndexList *indexList;
static int subpageNestingLevel;
diff --git a/src/pre.l b/src/pre.l
index d6e6d14..a082760 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2801,7 +2801,6 @@ static void addDefine(yyscan_t yyscanner)
YY_EXTRA_TYPE state = preYYget_extra(yyscanner);
if (state->skip) return; // do not add this define as it is inside a
// conditional section (cond command) that is disabled.
- if (!Doxygen::gatherDefines) return;
//printf("addDefine '%s' '%s'\n",state->defName.data(),state->defArgsStr.data());
//ArgumentList *al = new ArgumentList;