Skip to content

Commit 6b93230

Browse files
Update tokenize.cpp
1 parent b52fd48 commit 6b93230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5544,7 +5544,7 @@ void Tokenizer::createLinks2()
55445544

55455545
while (!type.empty() && type.top()->str() == "<") {
55465546
const Token* end = type.top()->findClosingBracket();
5547-
if (Token::Match(end, "> %comp%|;|.|=|{|(|::"))
5547+
if (Token::Match(end, "> %comp%|;|.|=|{|(|)|::"))
55485548
break;
55495549
// Variable declaration
55505550
if (Token::Match(end, "> %var% ;") && (type.top()->tokAt(-2) == nullptr || Token::Match(type.top()->tokAt(-2), ";|}|{")))

0 commit comments

Comments
 (0)