summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-20 09:35:14 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-20 09:35:14 (GMT)
commit0fc0de19ba79068ff7b6bad1e161393adcd865b8 (patch)
tree23b4ca50c2896a87b03cb52625256a6939af2fff /src/doxygen.cpp
parent7cf6e640540954d974374b28f692e4d05ef22049 (diff)
downloadDoxygen-0fc0de19ba79068ff7b6bad1e161393adcd865b8.zip
Doxygen-0fc0de19ba79068ff7b6bad1e161393adcd865b8.tar.gz
Doxygen-0fc0de19ba79068ff7b6bad1e161393adcd865b8.tar.bz2
issue #7446: C#: parameter named `extends` is broken in the documentation
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index cc1526f..52f9ceb 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -1060,7 +1060,7 @@ static void addClassToContext(const Entry *root)
{
// a Java/C# generic class looks like a C++ specialization, so we need to split the
// name and template arguments here
- stringToArgumentList(fullName.mid(i),tArgList);
+ stringToArgumentList(root->lang,fullName.mid(i),tArgList);
fullName=fullName.left(i);
}
else
@@ -3388,7 +3388,7 @@ static void buildFunctionList(const Entry *root)
if (md->documentation().isEmpty() && !root->doc.isEmpty())
{
ArgumentList argList;
- stringToArgumentList(root->args,argList);
+ stringToArgumentList(root->lang,root->args,argList);
if (root->proto)
{
//printf("setDeclArgumentList to %p\n",argList);
@@ -4211,7 +4211,7 @@ static bool findTemplateInstanceRelation(const Entry *root,
Debug::print(Debug::Classes,0," template root found %s templSpec=%s!\n",
qPrint(templateRoot->name),qPrint(templSpec));
ArgumentList templArgs;
- stringToArgumentList(templSpec,templArgs);
+ stringToArgumentList(root->lang,templSpec,templArgs);
findBaseClassesForClass(templateRoot,context,templateClass,instanceClass,
TemplateInstances,isArtificial,templArgs,templateNames);
@@ -4825,7 +4825,7 @@ static void computeTemplateClassRelations()
Debug::print(Debug::Classes,0," Template instance %s : \n",qPrint(tcd->name()));
QCString templSpec = tdi.currentKey();
ArgumentList templArgs;
- stringToArgumentList(templSpec,templArgs);
+ stringToArgumentList(tcd->getLanguage(),templSpec,templArgs);
for (const BaseInfo &bi : root->extends)
{
// check if the base class is a template argument