Index: src/scanner.h |
diff --git a/src/scanner.h b/src/scanner.h |
index 16c3a427c9c70294564349026bad659310f8923a..6651c3875539a600ce9e391144495104249f6bc0 100644 |
--- a/src/scanner.h |
+++ b/src/scanner.h |
@@ -509,11 +509,11 @@ class JavaScriptScanner : public Scanner { |
// tokens, which is what it is used for. |
void SeekForward(int pos); |
- bool HarmonyBlockScoping() const { |
- return harmony_block_scoping_; |
+ bool HarmonyScoping() const { |
+ return harmony_scoping_; |
} |
- void SetHarmonyBlockScoping(bool block_scoping) { |
- harmony_block_scoping_ = block_scoping; |
+ void SetHarmonyScoping(bool block_scoping) { |
+ harmony_scoping_ = block_scoping; |
} |
@@ -556,7 +556,7 @@ class JavaScriptScanner : public Scanner { |
bool has_multiline_comment_before_next_; |
// Whether we scan 'let' as a keyword for harmony block scoped |
// let bindings. |
- bool harmony_block_scoping_; |
+ bool harmony_scoping_; |
}; |
} } // namespace v8::internal |