Skip to content

Commit

Permalink
Actually using value of GROUP_NESTED_COMPOUNDS option
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Jul 27, 2015
1 parent 9d7221a commit 3b314b5
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 3b314b5

Please sign in to comment.