| Index: src/parsing/token.cc
|
| diff --git a/src/parsing/token.cc b/src/parsing/token.cc
|
| index 7edfefa82100c16a11db2773e18b4f3211e34ffd..e4d171dee787c05969ac8e622a2a2ed6201b15a2 100644
|
| --- a/src/parsing/token.cc
|
| +++ b/src/parsing/token.cc
|
| @@ -10,31 +10,23 @@ namespace v8 {
|
| namespace internal {
|
|
|
| #define T(name, string, precedence) #name,
|
| -const char* const Token::name_[NUM_TOKENS] = {
|
| - TOKEN_LIST(T, T)
|
| -};
|
| +const char* const Token::name_[NUM_TOKENS] = {TOKEN_LIST(T, T)};
|
| #undef T
|
|
|
|
|
| #define T(name, string, precedence) string,
|
| -const char* const Token::string_[NUM_TOKENS] = {
|
| - TOKEN_LIST(T, T)
|
| -};
|
| +const char* const Token::string_[NUM_TOKENS] = {TOKEN_LIST(T, T)};
|
| #undef T
|
|
|
|
|
| #define T(name, string, precedence) precedence,
|
| -const int8_t Token::precedence_[NUM_TOKENS] = {
|
| - TOKEN_LIST(T, T)
|
| -};
|
| +const int8_t Token::precedence_[NUM_TOKENS] = {TOKEN_LIST(T, T)};
|
| #undef T
|
|
|
|
|
| #define KT(a, b, c) 'T',
|
| #define KK(a, b, c) 'K',
|
| -const char Token::token_type[] = {
|
| - TOKEN_LIST(KT, KK)
|
| -};
|
| +const char Token::token_type[] = {TOKEN_LIST(KT, KK)};
|
| #undef KT
|
| #undef KK
|
|
|
|
|