Skip to content

Commit

Permalink
Merge pull request #374 from mshabunin/use-group-nested-compounds-option
Browse files Browse the repository at this point in the history
Actually using value of GROUP_NESTED_COMPOUNDS option
  • Loading branch information
Dimitri van Heesch committed Jul 27, 2015
2 parents 21fb8c0 + 3b314b5 commit 31c5aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31c5aec

Please sign in to comment.