Skip to content

Commit 622d186

Browse files
committed
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 (
1 parent 4cdb340 commit 622d186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scanner.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4234,7 +4234,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
42344234
<FuncFuncType>. {
42354235
current->type += *yytext;
42364236
}
4237-
<FindMembers>"("/{BN}*{ID}{BN}*"*"{BN}*{ID}*")(" { // for catching typedef void (__stdcall *f)() like definitions
4237+
<FindMembers>"("/{BN}*{ID}{BN}*"*"{BN}*{ID}*")"{BN}*"(" { // for catching typedef void (__stdcall *f)() like definitions
42384238
if (current->type.left(7)=="typedef" && current->bodyLine==-1)
42394239
// the bodyLine check is to prevent this guard to be true more than once
42404240
{

0 commit comments

Comments
 (0)