From 1656ecd73b40e82731f74a64ce37e73e2d7a5565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 11 Oct 2017 17:15:28 +0200 Subject: [PATCH] Revert changes I committed by mistake --- lib/library.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;