diff options
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) |