Commit 59003042 authored by Roberto Raggi's avatar Roberto Raggi
Browse files


parent a1c6efbd
......@@ -330,10 +330,10 @@ Scope *Symbol::enclosingClassScope() const
if (! _scope)
return 0;
else if (_scope->isNamespaceScope())
else if (_scope->isClassScope())
return _scope;
return _scope->enclosingNamespaceScope();
return _scope->enclosingClassScope();
Scope *Symbol::enclosingEnumScope() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment