summaryrefslogtreecommitdiffstats
path: root/src/tagreader.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-01-22 17:56:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-01-22 17:56:24 (GMT)
commit61e51f0c7b139596e54aaea4c4d684b59cbfae57 (patch)
treed15a4da33ccd88d9f7ebd50a6090a12c90ccbae4 /src/tagreader.cpp
parent9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a (diff)
downloadDoxygen-61e51f0c7b139596e54aaea4c4d684b59cbfae57.zip
Doxygen-61e51f0c7b139596e54aaea4c4d684b59cbfae57.tar.gz
Doxygen-61e51f0c7b139596e54aaea4c4d684b59cbfae57.tar.bz2
Doxygen-1.2.13-20020122
Diffstat (limited to 'src/tagreader.cpp')
-rw-r--r--src/tagreader.cpp37
1 files changed, 20 insertions, 17 deletions
diff --git a/src/tagreader.cpp b/src/tagreader.cpp
index 5f35a6d..d3c85ba 100644
--- a/src/tagreader.cpp
+++ b/src/tagreader.cpp
@@ -3,7 +3,7 @@
*
*
*
- * Copyright (C) 1997-2001 by Dimitri van Heesch.
+ * Copyright (C) 1997-2002 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -1072,23 +1072,26 @@ void TagFileParser::buildLists(Entry *root)
tpgi = m_tagFilePackages.next();
}
- // build group list
- TagGroupInfo *tgi = m_tagFileGroups.first();
- while (tgi)
+ // build group list, but only if config file says to include it
+ if (Config_getBool("EXTERNAL_GROUPS"))
{
- Entry *ge = new Entry;
- ge->section = Entry::GROUPDOC_SEC;
- ge->name = tgi->name;
- ge->type = tgi->title;
- addDocAnchors(ge,tgi->docAnchors);
- TagInfo *ti = new TagInfo;
- ti->tagName = m_tagName;
- ti->fileName = tgi->filename;
- ge->tagInfo = ti;
-
- buildMemberList(ge,tgi->members);
- root->addSubEntry(ge);
- tgi = m_tagFileGroups.next();
+ TagGroupInfo *tgi = m_tagFileGroups.first();
+ while (tgi)
+ {
+ Entry *ge = new Entry;
+ ge->section = Entry::GROUPDOC_SEC;
+ ge->name = tgi->name;
+ ge->type = tgi->title;
+ addDocAnchors(ge,tgi->docAnchors);
+ TagInfo *ti = new TagInfo;
+ ti->tagName = m_tagName;
+ ti->fileName = tgi->filename;
+ ge->tagInfo = ti;
+
+ buildMemberList(ge,tgi->members);
+ root->addSubEntry(ge);
+ tgi = m_tagFileGroups.next();
+ }
}
// build page list