Chromium Code Reviews| Index: src/preparser.cc |
| diff --git a/src/preparser.cc b/src/preparser.cc |
| index 243a3ed34c52e20ca31b48d4bcffadd25bc8c8dd..828177aee0a696ddf51c75b2ca7867aacc163522 100644 |
| --- a/src/preparser.cc |
| +++ b/src/preparser.cc |
| @@ -662,6 +662,7 @@ PreParser::Statement PreParser::ParseWhileStatement(bool* ok) { |
| bool PreParser::CheckInOrOf() { |
| if (peek() == i::Token::IN || |
| (allow_for_of() && |
| + peek() == i::Token::IDENTIFIER && |
| scanner_->is_next_contextual_keyword(v8::internal::CStrVector("of")))) { |
| Next(); |
| return true; |