summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-06-18 16:12:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-06-18 16:12:02 (GMT)
commit2d0679ab5e5cf4fd5daa7bbc007c9b43ccac42d8 (patch)
tree87cc9a7540b6f305b72a7d2e3ecb7e16762b3488 /src/defargs.l
parenteb3b95e2aacced2a715337e2d4a93e588d3258c1 (diff)
downloadDoxygen-2d0679ab5e5cf4fd5daa7bbc007c9b43ccac42d8.zip
Doxygen-2d0679ab5e5cf4fd5daa7bbc007c9b43ccac42d8.tar.gz
Doxygen-2d0679ab5e5cf4fd5daa7bbc007c9b43ccac42d8.tar.bz2
Release-1.1.4-20000618
Diffstat (limited to 'src/defargs.l')
-rw-r--r--src/defargs.l11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/defargs.l b/src/defargs.l
index 5ff1fcb..88e4148 100644
--- a/src/defargs.l
+++ b/src/defargs.l
@@ -256,12 +256,9 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
if (l>0)
{
int i=l-1;
- while (i>=0 &&
- (
- isspace(g_curArgTypeName.at(i)) ||
- isId(g_curArgTypeName.at(i))
- )
- ) i--;
+ while (i>=0 && isspace(g_curArgTypeName.at(i))) i--;
+ while (i>=0 && isId(g_curArgTypeName.at(i))) i--;
+ //printf("g_curArgTypeName=`%s' i=%d\n",g_curArgTypeName.data(),i);
Argument *a = new Argument;
a->attrib = g_curArgAttrib.copy();
if (i>=0 && g_curArgTypeName.at(i)!=':')
@@ -276,7 +273,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
a->array = g_curArgArray.copy();
a->defval = g_curArgDefValue.copy();
a->docs = g_curArgDocs.stripWhiteSpace();
- //printf("Argument %s %s adding docs=`%s'\n",a->type.data(),a->name.data(),a->docs.data());
+ //printf("Argument `%s' `%s' adding docs=`%s'\n",a->type.data(),a->name.data(),a->docs.data());
g_argList->append(a);
}
g_curArgAttrib.resize(0);