diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-02 00:55:49 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-02 00:55:49 (GMT) |
commit | ba13a6003d95f9d07f94bdb0e210e0c0453d8b80 (patch) | |
tree | d13bf7a0ed2723194a773a3836cf43139471bfa8 /src/declarative/qml/qmlscriptparser.cpp | |
parent | ecd07750a74111ed9ef65a7439ddccc065c5dadc (diff) | |
parent | 4e9336d1f60089bffda7fca93a63d18ffce0a6fa (diff) | |
download | Qt-ba13a6003d95f9d07f94bdb0e210e0c0453d8b80.zip Qt-ba13a6003d95f9d07f94bdb0e210e0c0453d8b80.tar.gz Qt-ba13a6003d95f9d07f94bdb0e210e0c0453d8b80.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r-- | src/declarative/qml/qmlscriptparser.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp index 880b64b..7475943 100644 --- a/src/declarative/qml/qmlscriptparser.cpp +++ b/src/declarative/qml/qmlscriptparser.cpp @@ -178,8 +178,6 @@ protected: virtual bool visit(AST::UiArrayBinding *node); virtual bool visit(AST::UiSourceElement *node); - virtual bool visit(AST::ExpressionStatement *node); - void accept(AST::Node *node); QString asString(AST::UiQualifiedId *node) const; @@ -669,14 +667,6 @@ bool ProcessAST::visit(AST::UiScriptBinding *node) return true; } -bool ProcessAST::visit(AST::ExpressionStatement *node) -{ - if (!node->semicolonToken.isValid()) - _parser->addAutomaticSemicolonOffset(node->semicolonToken.offset); - - return true; -} - static QList<int> collectCommas(AST::UiArrayMemberList *members) { QList<int> commas; @@ -880,7 +870,6 @@ void QmlScriptParser::clear() _nameSpacePaths.clear(); _typeNames.clear(); _errors.clear(); - _automaticSemicolonOffsets.clear(); if (data) { delete data; |