diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-07-01 15:47:55 (GMT) |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-07-01 15:47:55 (GMT) |
commit | eeccaca2875b675d9fabfe5cf03941fa1fd93511 (patch) | |
tree | a2a4fba85ab962ddf12f468e6a4dcd81edf58969 /src/declarative/qml/qmlscriptparser.cpp | |
parent | 028a6a00c5653c6dc0641b215287e33b8312d7a7 (diff) | |
download | Qt-eeccaca2875b675d9fabfe5cf03941fa1fd93511.zip Qt-eeccaca2875b675d9fabfe5cf03941fa1fd93511.tar.gz Qt-eeccaca2875b675d9fabfe5cf03941fa1fd93511.tar.bz2 |
Removed superfluous methods.
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 f1f1710..b957499 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; @@ -645,14 +643,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; @@ -856,7 +846,6 @@ void QmlScriptParser::clear() _nameSpacePaths.clear(); _typeNames.clear(); _errors.clear(); - _automaticSemicolonOffsets.clear(); if (data) { delete data; |