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

Unified Diff: src/parser.h

Issue 953983002: Fix up ParseProgram and ParseModule to do something sane with module scopes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Stop using CHECK_EQ for AstRawStrings, clang does not like it Created 5 years, 10 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 bc0b7ab51b0546257d807260331c540098d6d133..26255b28cb4b947128401a77db1fb321113d2edf 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -703,7 +703,7 @@ class Parser : public ParserBase<ParserTraits> {
void* ParseStatementList(ZoneList<Statement*>* body, int end_token,
bool is_eval, Scope** ad_hoc_eval_scope, bool* ok);
Statement* ParseStatementListItem(bool* ok);
- Statement* ParseModule(bool* ok);
+ void* ParseModule(ZoneList<Statement*>* body, bool* ok);
rossberg 2015/02/25 13:35:42 Nit: Can we rename this to ParseModuleItemList, fo
adamk 2015/02/25 18:55:21 Sounds good, will rename in a one of these followu
Statement* ParseModuleItem(bool* ok);
Literal* ParseModuleSpecifier(bool* ok);
Statement* ParseImportDeclaration(bool* ok);
« 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