forked from qt-creator/qt-creator
Revert "qmljs/parser: update to latest qt5 parser"
error 'QmlJS::Engine' does not have any field named 'directives to be fixed This reverts commit 7d76f9040a933981ed44b2b4f0a6edcff034be6a Change-Id: I24dbe6829ed3920af0f53f2ec31eba82ebdf749f Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
77c606917b
commit
7b166ccc09
@@ -92,6 +92,7 @@ public:
|
||||
T_IMPLEMENTS = T_RESERVED_WORD,
|
||||
T_INT = T_RESERVED_WORD,
|
||||
T_INTERFACE = T_RESERVED_WORD,
|
||||
T_LET = T_RESERVED_WORD,
|
||||
T_LONG = T_RESERVED_WORD,
|
||||
T_NATIVE = T_RESERVED_WORD,
|
||||
T_PACKAGE = T_RESERVED_WORD,
|
||||
@@ -103,7 +104,8 @@ public:
|
||||
T_SYNCHRONIZED = T_RESERVED_WORD,
|
||||
T_THROWS = T_RESERVED_WORD,
|
||||
T_TRANSIENT = T_RESERVED_WORD,
|
||||
T_VOLATILE = T_RESERVED_WORD
|
||||
T_VOLATILE = T_RESERVED_WORD,
|
||||
T_YIELD = T_RESERVED_WORD
|
||||
};
|
||||
|
||||
enum Error {
|
||||
@@ -180,7 +182,6 @@ private:
|
||||
int scanNumber(QChar ch);
|
||||
|
||||
bool isLineTerminator() const;
|
||||
unsigned isLineTerminatorSequence() const;
|
||||
static bool isIdentLetter(QChar c);
|
||||
static bool isDecimalDigit(ushort c);
|
||||
static bool isHexDigit(QChar c);
|
||||
|
||||
Reference in New Issue
Block a user