summaryrefslogtreecommitdiffstats
path: root/src/defargs.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/defargs.l')
-rw-r--r--src/defargs.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/defargs.l b/src/defargs.l
index e0b30fa..9032d8e 100644
--- a/src/defargs.l
+++ b/src/defargs.l
@@ -370,10 +370,10 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
if (a->type.left(6)=="const ") sv=6;
else if (a->type.left(9)=="volatile ") sv=9;
- if (a->type.mid(sv,6)=="struct" ||
- a->type.mid(sv,5)=="union" ||
- a->type.mid(sv,5)=="class" ||
- a->type.mid(sv,8)=="typename" ||
+ if (a->type.mid(sv)=="struct" ||
+ a->type.mid(sv)=="union" ||
+ a->type.mid(sv)=="class" ||
+ a->type.mid(sv)=="typename" ||
a->type=="const" ||
a->type=="volatile"
)