diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-08 20:42:05 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-08 20:42:05 (GMT) |
commit | 367c98ad291fd02781ae1c20a6e09e0b07dbec88 (patch) | |
tree | 28a24e8c88d32a50bc5bef6d49306553267dc5ab /src/memberdef.cpp | |
parent | 59bbbf5099f9bcf96d3585e4fc0669e091d3b9e7 (diff) | |
download | Doxygen-367c98ad291fd02781ae1c20a6e09e0b07dbec88.zip Doxygen-367c98ad291fd02781ae1c20a6e09e0b07dbec88.tar.gz Doxygen-367c98ad291fd02781ae1c20a6e09e0b07dbec88.tar.bz2 |
Release-1.1.3
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 7fc4b37..1980587 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -104,7 +104,8 @@ static void writeDefArgumentList(OutputList &ol,ClassDef *cd, bool first=TRUE; while (a) { - ol.startParameter(first); first=FALSE; + if (!md->isDefine()) ol.startParameter(first); else ol.docify(" "); + first=FALSE; QRegExp re(")("); int vp; if (!a->attrib.isEmpty()) // argument has an IDL attribute @@ -154,7 +155,7 @@ static void writeDefArgumentList(OutputList &ol,ClassDef *cd, if (a) { ol.docify(", "); // there are more arguments - ol.endParameter(FALSE); + if (!md->isDefine()) ol.endParameter(FALSE); } } ol.pushGeneratorState(); @@ -1004,7 +1005,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, ol.docify("]"); ol.endTypewriter(); } - ol.endParameter(TRUE); + if (!isDefine()) ol.endParameter(TRUE); ol.endMemberDoc(); ol.endDoxyAnchor(); ol.startIndent(); @@ -1300,11 +1301,11 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, void MemberDef::warnIfUndocumented() { - //if (memberGroup) return; + if (memberGroup) return; ClassDef *cd = memberClass(); NamespaceDef *nd = getNamespace(); FileDef *fd = getFileDef(); - GroupDef *gd = groupDef(); + GroupDef *gd = groupDef(); Definition *d=0; const char *t=0; if (cd) |