summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/defargs.l')
-rw-r--r--src/defargs.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/defargs.l b/src/defargs.l
index b1f2134..035406c 100644
--- a/src/defargs.l
+++ b/src/defargs.l
@@ -325,6 +325,11 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
}
<ReadFuncArgType,ReadFuncArgPtr>{ID} {
QCString name=yytext; //resolveDefines(yytext);
+ if (YY_START==ReadFuncArgType && g_curArgArray=="[]") // Java style array
+ {
+ g_curArgTypeName+=" []";
+ g_curArgArray.resize(0);
+ }
//printf("resolveName `%s'->`%s'\n",yytext,name.data());
g_curArgTypeName+=name;
}