Index: runtime/vm/scanner.h |
=================================================================== |
--- runtime/vm/scanner.h (revision 30276) |
+++ runtime/vm/scanner.h (working copy) |
@@ -105,15 +105,12 @@ |
Token::Kind kind; |
const char* keyword_chars; |
int keyword_len; |
- String* keyword_symbol; |
+ const String* keyword_symbol; |
}; |
// Rewind scanner position to token 0. |
void Reset(); |
- // Initialize Scanner tables. |
- void InitKeywordTable(); |
- |
// Reads next lookahead character. |
void ReadChar(); |
@@ -216,8 +213,8 @@ |
const String& private_key_; |
SourcePosition c0_pos_; // Source position of lookahead character c0_. |
- KeywordTable keywords_[Token::numKeywords]; |
- Array& keyword_symbol_table_; // Access to keyword symbols in object store. |
+ |
+ static KeywordTable keywords_[Token::numKeywords]; |
}; |