summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
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 328dc3f..e9d5707 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -6749,7 +6749,7 @@ static void parseCompounds(Entry *rt)
// deep copy group list from parent (see bug 727732)
static bool autoGroupNested = Config_getBool("GROUP_NESTED_COMPOUNDS");
- if (rt->groups && ce->section!=Entry::ENUM_SEC && !(ce->spec&Entry::Enum))
+ if (autoGroupNested && rt->groups && ce->section!=Entry::ENUM_SEC && !(ce->spec&Entry::Enum))
{
QListIterator<Grouping> gli(*rt->groups);
Grouping *g;