summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index fe4da71..ef5e884 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -413,6 +413,15 @@ void MemberList::addListReferences(Definition *def)
if (md->getGroupDef()==0 || def->definitionType()==Definition::TypeGroup)
{
md->addListReference(def);
+ if (md->memberType()==MemberDef::Enumeration && md->enumFieldList())
+ {
+ MemberListIterator vmli(*md->enumFieldList());
+ MemberDef *vmd;
+ for ( ; (vmd=vmli.current()) ; ++vmli)
+ {
+ vmd->addListReference(def);
+ }
+ }
}
}
if (memberGroupList)