QmlJS: Fix saving and restoring QML scope objects.

Change-Id: I621d7c3dbc8d5613b5d9ffddd08acd582559990b
Reviewed-on: http://codereview.qt-project.org/5720
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-28 15:15:09 +02:00
parent 373d51a1ed
commit 8faafc2f0c
2 changed files with 13 additions and 4 deletions

View File

@@ -36,6 +36,7 @@
#include <qmljs/qmljsdocument.h>
#include <QtCore/QList>
#include <QtCore/QStack>
namespace QmlJS {
@@ -68,6 +69,7 @@ private:
ScopeChain *_scopeChain;
QList<AST::Node *> _nodes;
QStack< QList<const ObjectValue *> > _qmlScopeObjects;
};
} // namespace QmlJS