Use Token::simpleMatch for simple pattern

This commit is contained in:
Daniel Marjamäki 2014-08-01 17:47:02 +02:00
parent 3f5da22d2b
commit 4dc73e3a5b
1 changed files with 1 additions and 1 deletions

View File

@ -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..