From 6833f142284376d256688511c5111dda6df9d79d Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 20 Dec 2018 16:55:41 +0100 Subject: issue #6690 Regression in handling of shorthand signed/unsigned types in function parameters (with bisect and test case) For some keywords not the value of the 'type' should decide whether the 'name' in the name field is part of the 'type' or is the 'name' in the argument. --- src/defargs.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/defargs.l b/src/defargs.l index 52052fa..86e2529 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -107,12 +107,12 @@ static int yyread(char *buf,int max_size) static bool checkSpecialType(QCString &typ, QCString &nam) { if (nam == "unsigned" || nam == "signed" || + nam == "int" || nam == "long" || nam == "volatile" || nam == "const") return TRUE; QCStringList qsl=QCStringList::split(' ',typ); for (uint j=0;j