| Index: src/token.h
|
| ===================================================================
|
| --- src/token.h (revision 9006)
|
| +++ src/token.h (working copy)
|
| @@ -41,7 +41,6 @@
|
| //
|
| // T: Non-keyword tokens
|
| // K: Keyword tokens
|
| -// F: Future (reserved) keyword tokens
|
|
|
| // IGNORE_TOKEN is a convenience macro that can be supplied as
|
| // an argument (at any position) for a TOKEN_LIST call. It does
|
| @@ -49,7 +48,7 @@
|
|
|
| #define IGNORE_TOKEN(name, string, precedence)
|
|
|
| -#define TOKEN_LIST(T, K, F) \
|
| +#define TOKEN_LIST(T, K) \
|
| /* End of source indicator. */ \
|
| T(EOS, "EOS", 0) \
|
| \
|
| @@ -169,6 +168,7 @@
|
| T(FUTURE_RESERVED_WORD, NULL, 0) \
|
| T(FUTURE_STRICT_RESERVED_WORD, NULL, 0) \
|
| K(CONST, "const", 0) \
|
| + K(LET, "let", 0) \
|
| \
|
| /* Illegal token - not able to scan. */ \
|
| T(ILLEGAL, "ILLEGAL", 0) \
|
| @@ -182,7 +182,7 @@
|
| // All token values.
|
| #define T(name, string, precedence) name,
|
| enum Value {
|
| - TOKEN_LIST(T, T, IGNORE_TOKEN)
|
| + TOKEN_LIST(T, T)
|
| NUM_TOKENS
|
| };
|
| #undef T
|
|
|