summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-09-28 18:26:46 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-09-28 18:26:46 (GMT)
commitb7473cd86e57053b866a719f160cd4d01e92f092 (patch)
tree01f67df4c4005875230919c5f826290b6a17a2e4 /src/defargs.l
parenta3133b16473d093f9c525cbf9d21fabbae7ae1ac (diff)
downloadDoxygen-b7473cd86e57053b866a719f160cd4d01e92f092.zip
Doxygen-b7473cd86e57053b866a719f160cd4d01e92f092.tar.gz
Doxygen-b7473cd86e57053b866a719f160cd4d01e92f092.tar.bz2
Release-1.3.8-20040928
Diffstat (limited to 'src/defargs.l')
-rw-r--r--src/defargs.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/defargs.l b/src/defargs.l
index 0a5d5ec..da76d9c 100644
--- a/src/defargs.l
+++ b/src/defargs.l
@@ -283,7 +283,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
if (fi>=0)
{
a->type = g_curArgTypeName.left(fi+1);
- a->name = g_curArgTypeName.mid(fi+1,bi-fi-1);
+ a->name = g_curArgTypeName.mid(fi+1,bi-fi-1).stripWhiteSpace();
a->array = g_curArgTypeName.right(l-bi);
}
else
@@ -294,7 +294,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
else if (i>=0 && g_curArgTypeName.at(i)!=':')
{ // type contains a name
a->type = removeRedundantWhiteSpace(g_curArgTypeName.left(i+1));
- a->name = g_curArgTypeName.right(l-i-1);
+ a->name = g_curArgTypeName.right(l-i-1).stripWhiteSpace();
}
else // assume only the type was specified, try to determine name later
{