summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-04 20:11:15 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-02-04 20:11:15 (GMT)
commitb3cefe5954ed37ebcf843eced45e878b7b3dddcc (patch)
tree8dfda4a055e5c87b034138a0a9ed9e15cf8777e1 /src/scanner.l
parenta53db9b77a2df94cb9a1eaf4f6c305a92f432a14 (diff)
downloadDoxygen-b3cefe5954ed37ebcf843eced45e878b7b3dddcc.zip
Doxygen-b3cefe5954ed37ebcf843eced45e878b7b3dddcc.tar.gz
Doxygen-b3cefe5954ed37ebcf843eced45e878b7b3dddcc.tar.bz2
issue #8371: @defgroup contained in the markdown mainpage.md are not including the @ingroup marked classes in the generated documentation.
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 19381dd..6970d3e 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -7197,7 +7197,7 @@ static void parseCompounds(yyscan_t yyscanner,const std::shared_ptr<Entry> &rt)
// deep copy group list from parent (see bug 727732)
bool autoGroupNested = Config_getBool(GROUP_NESTED_COMPOUNDS);
- if (autoGroupNested && ce->section!=Entry::ENUM_SEC && !(ce->spec&Entry::Enum))
+ if (autoGroupNested && !rt->groups.empty() && ce->section!=Entry::ENUM_SEC && !(ce->spec&Entry::Enum))
{
ce->groups = rt->groups;
}