diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-01-15 13:32:42 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-17 08:10:07 +0100 |
commit | 8fc545de4166eb3c73833e9d9136dfbebf43539a (patch) | |
tree | 1ba7274ee48920c3c43a04c00ac7dcc0350ffa2d /src/qml/compiler/qqmltypecompiler_p.h | |
parent | 6547d53e6555f90065c045b718084557001f0245 (diff) |
[new compiler] Fix error reporting location for custom parsers
After the binding of QQmlCompilePass to QQmlTypeCompiler, I forgot to
change the customer parser handling to also report the errors correctly
back to the QQmlTypeCompiler. Instead they were collected locally with an
empty url.
Change-Id: I5ee527a77e27c0339c507f326a3b0f0837353db3
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmltypecompiler_p.h')
-rw-r--r-- | src/qml/compiler/qqmltypecompiler_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/compiler/qqmltypecompiler_p.h b/src/qml/compiler/qqmltypecompiler_p.h index 03cf3cafe7..bd136ea9e6 100644 --- a/src/qml/compiler/qqmltypecompiler_p.h +++ b/src/qml/compiler/qqmltypecompiler_p.h @@ -106,13 +106,11 @@ struct QQmlCompilePass virtual ~QQmlCompilePass() {} QQmlCompilePass(QQmlTypeCompiler *typeCompiler); - QList<QQmlError> errors; QString stringAt(int idx) const { return compiler->stringAt(idx); } protected: void recordError(const QV4::CompiledData::Location &location, const QString &description); - const QUrl url; QQmlTypeCompiler *compiler; }; |