Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 602b5278ea813cb20083df5e99465c7466975abd..dced2117bf106d92a19dc114ddb8058f15a6c314 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -1070,8 +1070,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, |