Permalink
Browse files

Bug 751455 - class scoped enum documentation appearing at group level…

… instead of class level
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jun 26, 2015
1 parent ae8f618 commit e4a9d06d7871f24dd6e37ecac6addae729e6d721
Showing with 11 additions and 1 deletion.
  1. +9 −0 src/config.xml
  2. +2 −1 src/scanner.l
@@ -676,6 +676,15 @@ Go to the <a href="commands.html">next</a> section or return to the
tag is set to \c YES then doxygen will reuse the documentation of the first
member in the group (if any) for the other members of the group. By default
all members of a group must be documented explicitly.
]]>
</docs>
</option>
<option type='bool' id='GROUP_NESTED_COMPOUNDS' defval='0'>
<docs>
<![CDATA[
If one adds a struct or class to a group and this option is enabled, then also
any nested class or struct is added to the same group. By default this option
is disabled and one has to add nested compounds explicitly via @ingroup.
]]>
</docs>
</option>
@@ -6748,7 +6748,8 @@ static void parseCompounds(Entry *rt)
initEntry();
// deep copy group list from parent (see bug 727732)
if (rt->groups)
static bool autoGroupNested = Config_getBool("GROUP_NESTED_COMPOUNDS");
if (rt->groups && ce->section!=Entry::ENUM_SEC && !(ce->spec&Entry::Enum))
{
QListIterator<Grouping> gli(*rt->groups);
Grouping *g;

0 comments on commit e4a9d06

Please sign in to comment.