Get rid off the friend QmlJS::Link declaration.

This commit is contained in:
Roberto Raggi
2010-02-10 17:05:45 +01:00
parent 8f5a1225f1
commit bdf8c94809
4 changed files with 59 additions and 31 deletions

View File

@@ -732,7 +732,8 @@ void Context::setTypeEnvironment(const QmlJS::Document *doc, const ObjectValue *
void Context::pushScope(const ObjectValue *object)
{
_scopeChain.append(object);
if (object != 0)
_scopeChain.append(object);
}
void Context::popScope()