Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: src/scanner.h

Issue 8226017: Introduce collective --harmony flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/preparser.cc ('k') | src/scanner.cc » ('j') | src/v8.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/preparser.cc ('k') | src/scanner.cc » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698