Index: vm/token.cc |
=================================================================== |
--- vm/token.cc (revision 5503) |
+++ vm/token.cc (working copy) |
@@ -7,28 +7,28 @@ |
namespace dart { |
#define TOKEN_NAME(t, s, p, a) #t, |
-const char* Token::name_[kNumTokens] = { |
+const char* Token::name_[] = { |
DART_TOKEN_LIST(TOKEN_NAME) |
DART_KEYWORD_LIST(TOKEN_NAME) |
}; |
#undef TOKEN_NAME |
#define TOKEN_STRING(t, s, p, a) s, |
-const char* Token::tok_str_[kNumTokens] = { |
+const char* Token::tok_str_[] = { |
DART_TOKEN_LIST(TOKEN_STRING) |
DART_KEYWORD_LIST(TOKEN_STRING) |
}; |
#undef TOKEN_STRING |
#define TOKEN_PRECEDENCE(t, s, p, a) p, |
-const uint8_t Token::precedence_[kNumTokens] = { |
+const uint8_t Token::precedence_[] = { |
DART_TOKEN_LIST(TOKEN_PRECEDENCE) |
DART_KEYWORD_LIST(TOKEN_PRECEDENCE) |
}; |
#undef TOKEN_PRECEDENCE |
#define TOKEN_ATTRIBUTE(t, s, p, a) a, |
- const Token::Attribute Token::attributes_[kNumTokens] = { |
+ const Token::Attribute Token::attributes_[] = { |
DART_TOKEN_LIST(TOKEN_ATTRIBUTE) |
DART_KEYWORD_LIST(TOKEN_ATTRIBUTE) |
}; |