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

Unified Diff: src/preparser.cc

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.h ('k') | src/scanner.h » ('j') | src/v8.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/preparser.cc
diff --git a/src/preparser.cc b/src/preparser.cc
index c4d2cfe13a2158effbafea10c7a7426b81344859..9f8e1eecc2fb59b134a244c69877c378aa6b786e 100644
--- a/src/preparser.cc
+++ b/src/preparser.cc
@@ -293,7 +293,7 @@ PreParser::Statement PreParser::ParseBlock(bool* ok) {
//
Expect(i::Token::LBRACE, CHECK_OK);
while (peek() != i::Token::RBRACE) {
- if (harmony_block_scoping_) {
+ if (harmony_scoping_) {
ParseSourceElement(CHECK_OK);
} else {
ParseStatement(CHECK_OK);
« no previous file with comments | « src/preparser.h ('k') | src/scanner.h » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698