summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/doxygen.cpp2
-rw-r--r--src/memberdef.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index e246628..e2ab088 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2351,7 +2351,7 @@ static MemberDef *addVariableToFile(
type,name,args,0,
root->protection, Normal,root->stat,Member,
mtype,!root->tArgLists.empty() ? root->tArgLists.back() : ArgumentList(),
- ArgumentList(), root->metaData) };
+ root->argList, root->metaData) };
md->setTagInfo(root->tagInfo());
md->setMemberSpecifiers(root->spec);
md->setDocumentation(root->doc,root->docFile,root->docLine);
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index ca6026e..ecc07d7 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -845,7 +845,7 @@ static bool writeDefArgumentList(OutputList &ol,const Definition *scope,const Me
const ArgumentList &defArgList=(md->isDocsForDefinition()) ?
md->argumentList() : md->declArgumentList();
//printf("writeDefArgumentList '%s' isDocsForDefinition()=%d\n",md->name().data(),md->isDocsForDefinition());
- if (!defArgList.hasParameters() || md->isProperty())
+ if (!defArgList.hasParameters() || md->isProperty() || md->isTypedef())
{
return FALSE; // member has no function like argument list
}