diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-10-15 08:18:09 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-10-15 08:18:09 (GMT) |
commit | 2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1 (patch) | |
tree | 7e15c43425202356ede76efc6a290b85fe36db9d /src/declarative/qml/qmlrewrite_p.h | |
parent | 9182a60aabaedf7d0b7278544920c546cb89e461 (diff) | |
download | Qt-2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1.zip Qt-2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1.tar.gz Qt-2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1.tar.bz2 |
Simplified the bindings rewriter.
The rewriter needs to know if an ExpressionStatement is part of a loop and
an integer is definitely enough for that.
Diffstat (limited to 'src/declarative/qml/qmlrewrite_p.h')
-rw-r--r-- | src/declarative/qml/qmlrewrite_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlrewrite_p.h b/src/declarative/qml/qmlrewrite_p.h index 449b219..59057d5 100644 --- a/src/declarative/qml/qmlrewrite_p.h +++ b/src/declarative/qml/qmlrewrite_p.h @@ -99,7 +99,7 @@ protected: virtual void endVisit(AST::LocalForEachStatement *ast); private: - QList<AST::Statement *> _loopStack; + int _inLoop; }; } // namespace QmlRewrite |