diff options
Diffstat (limited to 'src/defargs.l')
-rw-r--r-- | src/defargs.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defargs.l b/src/defargs.l index b88ef13..5a0feaf 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -256,7 +256,7 @@ 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))) i--; + while (i>=0 && (isspace(g_curArgTypeName.at(i)) || 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; |