summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-01-24 10:30:24 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-01-24 10:30:24 (GMT)
commit622d18637f9d633b184e43fd3594b661cf4e9375 (patch)
tree6cac77744265556ba1fcc39be66b07f019463826 /src
parent4cdb340062fdc80824a4fee04e83fe2969a0c4eb (diff)
downloadDoxygen-622d18637f9d633b184e43fd3594b661cf4e9375.zip
Doxygen-622d18637f9d633b184e43fd3594b661cf4e9375.tar.gz
Doxygen-622d18637f9d633b184e43fd3594b661cf4e9375.tar.bz2
Bug 761007 - Spaces between the closing bracket of the typename and the opening bracket of the parameter list cause detection issues.
Adding possibility to have spaces between ) and (
Diffstat (limited to 'src')
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index ea7d7ef..9ccd628 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -4234,7 +4234,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
<FuncFuncType>. {
current->type += *yytext;
}
-<FindMembers>"("/{BN}*{ID}{BN}*"*"{BN}*{ID}*")(" { // for catching typedef void (__stdcall *f)() like definitions
+<FindMembers>"("/{BN}*{ID}{BN}*"*"{BN}*{ID}*")"{BN}*"(" { // for catching typedef void (__stdcall *f)() like definitions
if (current->type.left(7)=="typedef" && current->bodyLine==-1)
// the bodyLine check is to prevent this guard to be true more than once
{