Skip to content

Commit 3079ab8

Browse files
committed
fix #13592
1 parent 8432444 commit 3079ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3718,7 +3718,7 @@ void Tokenizer::simplifyParenthesizedLibraryFunctions()
37183718
if (!Token::simpleMatch(tok, ") ("))
37193719
continue;
37203720
Token *rpar = tok, *lpar = tok->link();
3721-
if (!lpar)
3721+
if (!lpar || Token::Match(lpar->previous(), "%name%"))
37223722
continue;
37233723
const Token *ftok = rpar->previous();
37243724
if (mSettings.library.isNotLibraryFunction(ftok))

0 commit comments

Comments
 (0)