diff options
author | mae <qt-info@nokia.com> | 2009-04-20 15:54:26 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-04-24 07:52:38 (GMT) |
commit | 411808e3020e4563e5c2e0bcf6ebf2a6b633a8c4 (patch) | |
tree | c71dc8e9478fa5f4ec853924930095a67d2b5cf7 /src/declarative/qml/qmlscriptparser_p.h | |
parent | ca1dde886a5613e7f298927d8c1cd61f7fd05b28 (diff) | |
download | Qt-411808e3020e4563e5c2e0bcf6ebf2a6b633a8c4.zip Qt-411808e3020e4563e5c2e0bcf6ebf2a6b633a8c4.tar.gz Qt-411808e3020e4563e5c2e0bcf6ebf2a6b633a8c4.tar.bz2 |
support comma for lists, better parser error output
Diffstat (limited to 'src/declarative/qml/qmlscriptparser_p.h')
-rw-r--r-- | src/declarative/qml/qmlscriptparser_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlscriptparser_p.h b/src/declarative/qml/qmlscriptparser_p.h index d9a557f..b24662e 100644 --- a/src/declarative/qml/qmlscriptparser_p.h +++ b/src/declarative/qml/qmlscriptparser_p.h @@ -20,6 +20,7 @@ public: bool parse(const QByteArray &data, const QUrl &url = QUrl()); QString errorDescription() const; + int errorLine() const; QMap<QString,QString> nameSpacePaths() const; QStringList types() const; @@ -35,6 +36,7 @@ private: QmlParser::Object *root; QStringList _typeNames; QString _error; + int _errorLine; }; QT_END_NAMESPACE |