Skip to content

Commit 18cab00

Browse files
committed
Fix Token::Match pattern
1 parent 254e567 commit 18cab00

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
@@ -3405,7 +3405,7 @@ bool Tokenizer::simplifyTokenList1(const char FileName[])
34053405
for (Token *tok = list.front(); tok; tok = tok->next()) {
34063406
if (Token::Match(tok, "[;{}]"))
34073407
lt = nullptr;
3408-
else if (Token::Match(tok, "%type <"))
3408+
else if (Token::Match(tok, "%type% <"))
34093409
lt = tok->next();
34103410
else if (lt && Token::Match(tok, ">|>> %name%|::|(")) {
34113411
const Token * const end = tok;

0 commit comments

Comments
 (0)