Index: runtime/vm/scanner.h |
diff --git a/runtime/vm/scanner.h b/runtime/vm/scanner.h |
index 3e1407cba92580d16c58d5f55ca0cd11e005d72b..92c29198fdfbdd6292d0ae2a1a0118b4cb0cf008 100644 |
--- a/runtime/vm/scanner.h |
+++ b/runtime/vm/scanner.h |
@@ -85,6 +85,8 @@ class Scanner : ValueObject { |
const String** value); |
private: |
+ static const int kNumLowercaseChars = 26; |
+ |
struct ScanContext { |
ScanContext* next; |
char string_delimiter; |
@@ -205,7 +207,8 @@ class Scanner : ValueObject { |
SourcePosition c0_pos_; // Source position of lookahead character c0_. |
- static KeywordTable keywords_[Token::numKeywords]; |
+ static KeywordTable keywords_[Token::kNumKeywords]; |
+ static int keywords_char_offset_[kNumLowercaseChars]; |
}; |