| Index: src/token.cc
|
| diff --git a/src/token.cc b/src/token.cc
|
| index 21fa9ee4d74823c95ed630512a246e4abcc34f25..0dcd389e2d78b8a9d136e1831100a7f30e58af9c 100644
|
| --- a/src/token.cc
|
| +++ b/src/token.cc
|
| @@ -33,21 +33,21 @@ namespace v8 {
|
| namespace internal {
|
|
|
| #define T(name, string, precedence) #name,
|
| -const char* Token::name_[NUM_TOKENS] = {
|
| +const char* const Token::name_[NUM_TOKENS] = {
|
| TOKEN_LIST(T, T, IGNORE_TOKEN)
|
| };
|
| #undef T
|
|
|
|
|
| #define T(name, string, precedence) string,
|
| -const char* Token::string_[NUM_TOKENS] = {
|
| +const char* const Token::string_[NUM_TOKENS] = {
|
| TOKEN_LIST(T, T, IGNORE_TOKEN)
|
| };
|
| #undef T
|
|
|
|
|
| #define T(name, string, precedence) precedence,
|
| -int8_t Token::precedence_[NUM_TOKENS] = {
|
| +const int8_t Token::precedence_[NUM_TOKENS] = {
|
| TOKEN_LIST(T, T, IGNORE_TOKEN)
|
| };
|
| #undef T
|
|
|