Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 76f4625f3c69e647057e5aeef6cb1bf8514dbe26..aa1446c53d129c20827e1fdeaa077dc6c578955b 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -663,7 +663,7 @@ PreParser::Statement PreParser::ParseSwitchStatement(bool* ok) { |
while (token != Token::CASE && |
token != Token::DEFAULT && |
token != Token::RBRACE) { |
- ParseStatement(CHECK_OK); |
+ ParseStatementListItem(CHECK_OK); |
token = peek(); |
} |
} |