diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-01-18 12:38:36 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2010-01-18 13:40:47 +0100 |
commit | 0f8126f62dbbe35f297c956b964940d73688237c (patch) | |
tree | 1b3ae307c21d97922236ddbbc5e02dfe67a902ec /src/plugins/qmljseditor/qmlexpressionundercursor.cpp | |
parent | 2dfe4f620cff174ef57ad8dd8a89e93355afcb53 (diff) | |
download | qt-creator-0f8126f62dbbe35f297c956b964940d73688237c.tar.gz |
Changed the QML/JS editor to treat .qs/.js files as JavaScript, and invoke the appropriate parser for it.
Reviewed-by: Christian Kamm
Diffstat (limited to 'src/plugins/qmljseditor/qmlexpressionundercursor.cpp')
-rw-r--r-- | src/plugins/qmljseditor/qmlexpressionundercursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmlexpressionundercursor.cpp b/src/plugins/qmljseditor/qmlexpressionundercursor.cpp index 70c019795d..f95db88828 100644 --- a/src/plugins/qmljseditor/qmlexpressionundercursor.cpp +++ b/src/plugins/qmljseditor/qmlexpressionundercursor.cpp @@ -130,7 +130,7 @@ namespace QmlJSEditor { _pos = pos; _scopes.clear(); _currentSymbol = 0; - Node::accept(doc->program(), this); + Node::accept(doc->qmlProgram(), this); return _scopes; } |