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

Unified Diff: src/preparser.h

Issue 7992005: Block scoped const variables. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. 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
« src/parser.cc ('K') | « src/parser.cc ('k') | src/preparser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/preparser.h
diff --git a/src/preparser.h b/src/preparser.h
index 658693f4aae8c5dd7ee7ef9a5e2bd27623f560a0..dd8ec45a8acbbf75149b12b0d6dd4888631fcda6 100644
--- a/src/preparser.h
+++ b/src/preparser.h
@@ -521,6 +521,9 @@ class PreParser {
Statement ParseTryStatement(bool* ok);
Statement ParseDebuggerStatement(bool* ok);
+ // Support for hamony block scoped bindings.
+ Statement ParseHarmonyConstDeclaration(bool* ok);
+
Expression ParseExpression(bool accept_IN, bool* ok);
Expression ParseAssignmentExpression(bool accept_IN, bool* ok);
Expression ParseConditionalExpression(bool accept_IN, bool* ok);
« src/parser.cc ('K') | « src/parser.cc ('k') | src/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698