summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-06-18 16:12:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-06-18 16:12:02 (GMT)
commitcb417a1f59c3bf956677a59ce94cf13b4010f3c4 (patch)
tree87cc9a7540b6f305b72a7d2e3ecb7e16762b3488 /src/defargs.l
parent24106371e24a41d86a7a50de14d9741e591e95e3 (diff)
downloadDoxygen-cb417a1f59c3bf956677a59ce94cf13b4010f3c4.zip
Doxygen-cb417a1f59c3bf956677a59ce94cf13b4010f3c4.tar.gz
Doxygen-cb417a1f59c3bf956677a59ce94cf13b4010f3c4.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);