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

Unified Diff: src/parser.h

Issue 1149043005: [destructuring] Grand for statement parsing unification. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase feedback Created 5 years, 7 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 | « no previous file | src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index 22b3a5d9f8d119824d70369f1a7320545e7d2fed..cda26df2803a1d6290bec2e279c3150ef84523bb 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -950,7 +950,8 @@ class Parser : public ParserBase<ParserTraits> {
VariableMode mode;
bool is_const;
bool needs_init;
- int pos;
+ int declaration_pos;
+ int initialization_pos;
Token::Value init_op;
};
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698