Chromium Code Reviews| Index: src/parsing/parser.h |
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
| index 6285c0c6789d9d98c3b2c7f151c7b41e4b494922..e4287a75f658a9027c1276615a55b777632857db 100644 |
| --- a/src/parsing/parser.h |
| +++ b/src/parsing/parser.h |
| @@ -760,6 +760,7 @@ class Parser : public ParserBase<ParserTraits> { |
| bool* ok); |
| Statement* ParseStatementAsUnlabelled(ZoneList<const AstRawString*>* labels, |
| bool* ok); |
| + Statement* ParseOnlyFunctionDeclaration(bool* ok); |
| Statement* ParseFunctionDeclaration(ZoneList<const AstRawString*>* names, |
|
adamk
2016/04/20 19:09:28
Perhaps these could be called "ParseHoistableDecla
Dan Ehrenberg
2016/04/26 22:24:19
Done
|
| bool* ok); |
| Statement* ParseFunctionDeclaration(int pos, bool is_generator, |