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 9032d8e..603f238 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -346,7 +346,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" int bi=g_curArgTypeName.find('('); int fi=bi-1; //printf("func arg fi=%d\n",fi); - while (fi>=0 && isId(g_curArgTypeName.at(fi))) fi--; + while (fi>=0 && (isId(g_curArgTypeName.at(fi)) || g_curArgTypeName.at(fi)==':')) fi--; if (fi>=0) { a->type = g_curArgTypeName.left(fi+1); |