Replace Token::Match with Token::simpleMatch

This commit is contained in:
Daniel Marjamäki 2015-08-09 20:07:38 +02:00
parent b70fe4c609
commit 06110689a6
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ bool Library::isNotLibraryFunction(const Token *ftok) const
{ {
// methods are not library functions // methods are not library functions
// called from tokenizer, ast is not created properly yet // called from tokenizer, ast is not created properly yet
if (Token::Match(ftok->previous(),".")) if (Token::simpleMatch(ftok->previous(),"."))
return true; return true;
if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal) if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal)
return true; return true;