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