Use Token::simpleMatch for simple pattern
This commit is contained in:
parent
3f5da22d2b
commit
4dc73e3a5b
|
@ -9321,7 +9321,7 @@ void Tokenizer::simplifyKeyword()
|
|||
continue;
|
||||
|
||||
// Don't remove struct members
|
||||
if (Token::Match(tok->previous(), "."))
|
||||
if (Token::simpleMatch(tok->previous(), "."))
|
||||
continue;
|
||||
|
||||
// Simplify..
|
||||
|
|
Loading…
Reference in New Issue