Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 3d907184bce0edf52846d40c7535a166f83d6a08..807cec5ca8d3767aadf6824e97722c7e9e7ed0e2 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -1072,8 +1072,8 @@ class Parser : public ParserBase<ParserTraits> { |
Statement* ParseWithStatement(ZoneList<const AstRawString*>* labels, |
bool* ok); |
CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); |
- SwitchStatement* ParseSwitchStatement(ZoneList<const AstRawString*>* labels, |
- bool* ok); |
+ Statement* ParseSwitchStatement(ZoneList<const AstRawString*>* labels, |
+ bool* ok); |
DoWhileStatement* ParseDoWhileStatement(ZoneList<const AstRawString*>* labels, |
bool* ok); |
WhileStatement* ParseWhileStatement(ZoneList<const AstRawString*>* labels, |