forked from qt-creator/qt-creator
qmljs/parser: update to latest qt5 parser
fix error semicolon insertion of loops, strict mode Change-Id: I311733ffb34269d1cee7e576d05af78893b2bcbb Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
111872591e
commit
f0e4df5826
@@ -92,7 +92,6 @@ 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,
|
||||
@@ -104,8 +103,7 @@ public:
|
||||
T_SYNCHRONIZED = T_RESERVED_WORD,
|
||||
T_THROWS = T_RESERVED_WORD,
|
||||
T_TRANSIENT = T_RESERVED_WORD,
|
||||
T_VOLATILE = T_RESERVED_WORD,
|
||||
T_YIELD = T_RESERVED_WORD
|
||||
T_VOLATILE = T_RESERVED_WORD
|
||||
};
|
||||
|
||||
enum Error {
|
||||
@@ -182,6 +180,7 @@ 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