diff options
-rw-r--r-- | src/code.l | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |