summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-05-14 09:43:12 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-05-14 09:43:12 (GMT)
commit699e4ebfca621d4a009221b4304c3773cb783f7b (patch)
treed9bdf16281f2dd79c0c1dcc7e5c1c361e417cc0c /src/declarative/qml/qmlscriptparser.cpp
parent96bf1dee730651afa4f763fd5d7d52e49921d214 (diff)
downloadQt-699e4ebfca621d4a009221b4304c3773cb783f7b.zip
Qt-699e4ebfca621d4a009221b4304c3773cb783f7b.tar.gz
Qt-699e4ebfca621d4a009221b4304c3773cb783f7b.tar.bz2
Renamed JavaScriptEnginePrivate in Engine.
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r--src/declarative/qml/qmlscriptparser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp
index cd33624..6f29d17 100644
--- a/src/declarative/qml/qmlscriptparser.cpp
+++ b/src/declarative/qml/qmlscriptparser.cpp
@@ -633,16 +633,16 @@ bool QmlScriptParser::parse(const QByteArray &data, const QUrl &url)
const QString code = stream.readAll();
Parser parser;
- JavaScriptEnginePrivate driver;
+ Engine engine;
- NodePool nodePool(fileName, &driver);
- driver.setNodePool(&nodePool);
+ NodePool nodePool(fileName, &engine);
+ engine.setNodePool(&nodePool);
- Lexer lexer(&driver);
+ Lexer lexer(&engine);
lexer.setCode(code, /*line = */ 1);
- driver.setLexer(&lexer);
+ engine.setLexer(&lexer);
- if (! parser.parse(&driver) || !_errors.isEmpty()) {
+ if (! parser.parse(&engine) || !_errors.isEmpty()) {
// Extract errors from the parser
foreach (const Parser::DiagnosticMessage &m, parser.diagnosticMessages()) {