summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-09 09:17:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-09 09:17:51 (GMT)
commitbe7ce5002af548f01debf40d90640a3a28346f0a (patch)
tree63009c4744b1542014d733eed3608e97d8edd493 /src
parent2bc072132313b124781215c4fc43ca4f103adcda (diff)
downloadDoxygen-be7ce5002af548f01debf40d90640a3a28346f0a.zip
Doxygen-be7ce5002af548f01debf40d90640a3a28346f0a.tar.gz
Doxygen-be7ce5002af548f01debf40d90640a3a28346f0a.tar.bz2
Bug 154880 - if "using namespace" used, call of a static member function in C++ is not recognized or recognized wrong
Diffstat (limited to 'src')
-rw-r--r--src/code.l2
1 files changed, 1 insertions, 1 deletions
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;
}