summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2006-10-04 20:28:41 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2006-10-04 20:28:41 (GMT)
commitca720513ae89ad82fd8d8c4340271375ae1e9f64 (patch)
treed2526ce0c99b1f268769fd8bd1c56e6dda83fd7f /src/docparser.cpp
parentb1dbef9886c3bf49050a5f49b9ae9d12021e4b50 (diff)
downloadDoxygen-ca720513ae89ad82fd8d8c4340271375ae1e9f64.zip
Doxygen-ca720513ae89ad82fd8d8c4340271375ae1e9f64.tar.gz
Doxygen-ca720513ae89ad82fd8d8c4340271375ae1e9f64.tar.bz2
Release-1.4.7-20061004
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 3d34aa3..0cfeb88 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -339,6 +339,7 @@ static void checkUndocumentedParams()
}
if (found)
{
+ bool first=TRUE;
QString errMsg=
"Warning: The following parameters of "+
QString(g_memberDef->qualifiedName()) +
@@ -349,7 +350,15 @@ static void checkUndocumentedParams()
QString argName = g_memberDef->isDefine() ? a->type : a->name;
if (!argName.isEmpty() && g_paramsFound.find(argName)==0)
{
- errMsg+=" parameter "+argName+"\n";
+ if (!first)
+ {
+ errMsg+="\n";
+ }
+ else
+ {
+ first=FALSE;
+ }
+ errMsg+=" parameter "+argName;
}
}
if (g_memberDef->inheritsDocsFrom())