summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-07-27 14:59:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-07-27 14:59:10 (GMT)
commit016a22cd3abf688848cbe07315790fa4f14b0eef (patch)
tree201e94696e0c1cb55ffa8fd45c97dfa1ac586f0f /src/groupdef.cpp
parentf7e90abb5cdcb69a618505177683e9ac74a2bdb8 (diff)
downloadDoxygen-016a22cd3abf688848cbe07315790fa4f14b0eef.zip
Doxygen-016a22cd3abf688848cbe07315790fa4f14b0eef.tar.gz
Doxygen-016a22cd3abf688848cbe07315790fa4f14b0eef.tar.bz2
Release-1.5.6-20080727
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index e193a17..984bb4f 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -1162,8 +1162,16 @@ MemberList *GroupDef::getMemberList(MemberList::ListType lt) const
void GroupDef::writeMemberDeclarations(OutputList &ol,MemberList::ListType lt,const QCString &title)
{
+ static bool optimizeVhdl = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
+
MemberList * ml = getMemberList(lt);
- if (ml) ml->writeDeclarations(ol,0,0,0,this,title,0);
+ if (optimizeVhdl && ml)
+ {
+ VhdlDocGen::writeVhdlDeclarations(ml,ol,this,0);
+ return;
+ }
+ if (ml)
+ ml->writeDeclarations(ol,0,0,0,this,title,0);
}
void GroupDef::writeMemberDocumentation(OutputList &ol,MemberList::ListType lt,const QCString &title)