Index: src/scanner.cc |
diff --git a/src/scanner.cc b/src/scanner.cc |
index 69ea8ae6e7c296affc62211a96b435a035c01479..95748f241729f0a7620881a88ec74fbcb399d630 100755 |
--- a/src/scanner.cc |
+++ b/src/scanner.cc |
@@ -95,7 +95,7 @@ uc32 Scanner::ScanHexNumber(int expected_length) { |
JavaScriptScanner::JavaScriptScanner(UnicodeCache* scanner_contants) |
: Scanner(scanner_contants), |
octal_pos_(Location::invalid()), |
- harmony_block_scoping_(false) { } |
+ harmony_scoping_(false) { } |
void JavaScriptScanner::Initialize(UC16CharacterStream* source) { |
@@ -872,7 +872,7 @@ uc32 JavaScriptScanner::ScanIdentifierUnicodeEscape() { |
KEYWORD("instanceof", Token::INSTANCEOF) \ |
KEYWORD("interface", Token::FUTURE_STRICT_RESERVED_WORD) \ |
KEYWORD_GROUP('l') \ |
- KEYWORD("let", harmony_block_scoping \ |
+ KEYWORD("let", harmony_scoping \ |
? Token::LET : Token::FUTURE_STRICT_RESERVED_WORD) \ |
KEYWORD_GROUP('n') \ |
KEYWORD("new", Token::NEW) \ |
@@ -906,7 +906,7 @@ uc32 JavaScriptScanner::ScanIdentifierUnicodeEscape() { |
static Token::Value KeywordOrIdentifierToken(const char* input, |
int input_length, |
- bool harmony_block_scoping) { |
+ bool harmony_scoping) { |
ASSERT(input_length >= 1); |
const int kMinLength = 2; |
const int kMaxLength = 10; |
@@ -982,7 +982,7 @@ Token::Value JavaScriptScanner::ScanIdentifierOrKeyword() { |
Vector<const char> chars = next_.literal_chars->ascii_literal(); |
return KeywordOrIdentifierToken(chars.start(), |
chars.length(), |
- harmony_block_scoping_); |
+ harmony_scoping_); |
} |
return Token::IDENTIFIER; |