diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-01 18:08:50 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-01 18:08:50 (GMT) |
commit | ecb8f53e30524a6eca3c28db4d1a1d708a5a0976 (patch) | |
tree | dd7f0f7dd0875046b1426a541b00547a8af08af1 /src/defargs.l | |
parent | 7703ff62ed5e27d32af03d4a613f16e8a3320eb1 (diff) | |
download | Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.zip Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.tar.gz Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.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 |