summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-06-21 10:26:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-06-21 10:26:48 (GMT)
commitae8f618d140b4368045d286a682df3f6de7b2960 (patch)
tree0af6d1d806b72fc71072d71c39d4cdd828cf3823
parentf63d9ed958d2c06717434e1a90e6417cf2d60f6b (diff)
downloadDoxygen-ae8f618d140b4368045d286a682df3f6de7b2960.zip
Doxygen-ae8f618d140b4368045d286a682df3f6de7b2960.tar.gz
Doxygen-ae8f618d140b4368045d286a682df3f6de7b2960.tar.bz2
Fixed regression in argument processing
-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"
)