| Index: src/token.h
|
| diff --git a/src/token.h b/src/token.h
|
| index fb890d23420511732606cf8ec6b4718424deff08..776d9f3bc120d99e36cb0686ffa2065d422cf0a1 100644
|
| --- a/src/token.h
|
| +++ b/src/token.h
|
| @@ -155,38 +155,6 @@ namespace internal {
|
| K(WHILE, "while", 0) \
|
| K(WITH, "with", 0) \
|
| \
|
| - /* Future reserved words (ECMA-262, section 7.5.3, page 14). */ \
|
| - F(ABSTRACT, "abstract", 0) \
|
| - F(BOOLEAN, "boolean", 0) \
|
| - F(BYTE, "byte", 0) \
|
| - F(CHAR, "char", 0) \
|
| - F(CLASS, "class", 0) \
|
| - K(CONST, "const", 0) \
|
| - F(DOUBLE, "double", 0) \
|
| - F(ENUM, "enum", 0) \
|
| - F(EXPORT, "export", 0) \
|
| - F(EXTENDS, "extends", 0) \
|
| - F(FINAL, "final", 0) \
|
| - F(FLOAT, "float", 0) \
|
| - F(GOTO, "goto", 0) \
|
| - F(IMPLEMENTS, "implements", 0) \
|
| - F(IMPORT, "import", 0) \
|
| - F(INT, "int", 0) \
|
| - F(INTERFACE, "interface", 0) \
|
| - F(LONG, "long", 0) \
|
| - K(NATIVE, "native", 0) \
|
| - F(PACKAGE, "package", 0) \
|
| - F(PRIVATE, "private", 0) \
|
| - F(PROTECTED, "protected", 0) \
|
| - F(PUBLIC, "public", 0) \
|
| - F(SHORT, "short", 0) \
|
| - F(STATIC, "static", 0) \
|
| - F(SUPER, "super", 0) \
|
| - F(SYNCHRONIZED, "synchronized", 0) \
|
| - F(THROWS, "throws", 0) \
|
| - F(TRANSIENT, "transient", 0) \
|
| - F(VOLATILE, "volatile", 0) \
|
| - \
|
| /* Literals (ECMA-262, section 7.8, page 16). */ \
|
| K(NULL_LITERAL, "null", 0) \
|
| K(TRUE_LITERAL, "true", 0) \
|
| @@ -197,6 +165,11 @@ namespace internal {
|
| /* Identifiers (not keywords or future reserved words). */ \
|
| T(IDENTIFIER, NULL, 0) \
|
| \
|
| + /* Future reserved words (ECMA-262, section 7.6.1.2). */ \
|
| + T(FUTURE_RESERVED_WORD, NULL, 0) \
|
| + K(CONST, "const", 0) \
|
| + K(NATIVE, "native", 0) \
|
| + \
|
| /* Illegal token - not able to scan. */ \
|
| T(ILLEGAL, "ILLEGAL", 0) \
|
| \
|
|
|