diff --git a/lib/library.cpp b/lib/library.cpp index e4e4e7880..4949258f3 100644 --- a/lib/library.cpp +++ b/lib/library.cpp @@ -924,10 +924,9 @@ const Library::Container* Library::detectContainer(const Token* typeStart, bool // returns true if ftok is not a library function bool Library::isNotLibraryFunction(const Token *ftok) const { -/* if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal) return true; -*/ + // variables are not library functions. if (ftok->varId()) return true;