diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-08-01 18:08:50 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-08-01 18:08:50 (GMT) |
commit | 071e39254b00ad7ffed5de8cdeb44072278d4d57 (patch) | |
tree | dd7f0f7dd0875046b1426a541b00547a8af08af1 /src/defargs.l | |
parent | ea8a1bc7ccbd7b64a31c293caa31240bde7397cf (diff) | |
download | Doxygen-071e39254b00ad7ffed5de8cdeb44072278d4d57.zip Doxygen-071e39254b00ad7ffed5de8cdeb44072278d4d57.tar.gz Doxygen-071e39254b00ad7ffed5de8cdeb44072278d4d57.tar.bz2 |
Release-1.2.9
Diffstat (limited to 'src/defargs.l')
-rw-r--r-- | src/defargs.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/defargs.l b/src/defargs.l index ebdb6ad..3fa6e65 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -262,12 +262,12 @@ ID [a-z_A-Z][a-z_A-Z0-9]* a->attrib = g_curArgAttrib.copy(); if (i>=0 && g_curArgTypeName.at(i)!=':') { // type contains a name - a->type = g_curArgTypeName.left(i+1).stripWhiteSpace(); + a->type = removeRedundantWhiteSpace(g_curArgTypeName.left(i+1)); a->name = g_curArgTypeName.right(g_curArgTypeName.length()-i-1); } else // assume only the type was specified, try to determine name later { - a->type = g_curArgTypeName.stripWhiteSpace(); + a->type = removeRedundantWhiteSpace(g_curArgTypeName); } a->array = removeRedundantWhiteSpace(g_curArgArray); a->defval = g_curArgDefValue.copy(); @@ -365,7 +365,6 @@ void stringToArgumentList(const char *argsString,ArgumentList* &al) if (al==0) return; if (argsString==0) return; g_inputString = argsString; - //printf("stringToArgumentList(%s)\n",argsString); g_inputPosition = 0; g_curArgTypeName.resize(0); g_curArgDefValue.resize(0); @@ -374,6 +373,7 @@ void stringToArgumentList(const char *argsString,ArgumentList* &al) defargsYYrestart( defargsYYin ); BEGIN( Start ); defargsYYlex(); + //printf("stringToArgumentList(%s) result=%s\n",argsString,argListToString(al).data()); } extern "C" { // some bogus code to keep the compiler happy |