diff options
author | albert-github <albert.tests@gmail.com> | 2019-01-08 11:28:49 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-01-08 11:28:49 (GMT) |
commit | 6908d7df45ee4a3e4404f01e489fef097b2486dc (patch) | |
tree | 9acf94e74d9c963a1ed0ad509572c1dee14a7e10 | |
parent | b13890351ccd7a5700cb3f2f87690a989a98fe53 (diff) | |
download | Doxygen-6908d7df45ee4a3e4404f01e489fef097b2486dc.zip Doxygen-6908d7df45ee4a3e4404f01e489fef097b2486dc.tar.gz Doxygen-6908d7df45ee4a3e4404f01e489fef097b2486dc.tar.bz2 |
issue #6754 False positives for "multiple @param sections"
Don't add the argument to list of parameters in case of a non-parameter call (i.e. retval call)
-rw-r--r-- | src/docparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index c91dcde..20ee1f0 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -422,7 +422,7 @@ static void checkArgumentName(const QCString &name,bool isParam) argName=argName.stripWhiteSpace(); //printf("argName=`%s' aName=%s\n",argName.data(),aName.data()); if (argName.right(3)=="...") argName=argName.left(argName.length()-3); - if (aName==argName) + if (aName==argName && isParam) { g_paramsFound.insert(aName,(void *)(0x8)); found=TRUE; |