logging.warning("{}: unknown user-defined <memberdef> kind {}".format(state.current, memberdef.attrib['kind']))
if list:
- group = Empty()
- group.name = compounddef_child.find('header').text
- group.id = slugify(group.name)
- group.description = parse_desc(state, compounddef_child.find('description'))
- group.members = list
- compound.groups += [group]
+ header = compounddef_child.find('header')
+ if header is None:
+ logging.error("{}: member groups without @name are not supported, ignoring".format(state.current))
+ else:
+ group = Empty()
+ group.name = header.text
+ group.id = slugify(group.name)
+ group.description = parse_desc(state, compounddef_child.find('description'))
+ group.members = list
+ compound.groups += [group]
elif compounddef_child.attrib['kind'] not in ['private-type',
'private-static-func',
/** @brief A protected variable */
std::string logger;
+ /** @{ */ /* Group w/o a name */
+
+ /** @brief A member that gets ignored because the group has no name */
+ int member;
+
+ /*@}*/
+
/** @{ @name Group full of non-public stuff which should be marked as such */
/** @brief Protected flag in a group */