From be7ce5002af548f01debf40d90640a3a28346f0a Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 9 Sep 2013 11:17:51 +0200 Subject: Bug 154880 - if "using namespace" used, call of a static member function in C++ is not recognized or recognized wrong --- src/code.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code.l b/src/code.l index 3aa9837..693a20f 100644 --- a/src/code.l +++ b/src/code.l @@ -398,7 +398,7 @@ static CallContext g_theCallContext; static void pushScope(const char *s) { g_classScopeLengthStack.push(new int(g_classScope.length())); - if (g_classScope.isEmpty()) + if (g_classScope.isEmpty() || leftScopeMatch(s,g_classScope)) { g_classScope = s; } -- cgit v0.12