| Index: src/parsing/preparser.cc
|
| diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc
|
| index 1025b8b136987f0af54715d2c8e1d9fc4995a8b3..5555ab2a887a9290fc5acd6d75e048cd33106939 100644
|
| --- a/src/parsing/preparser.cc
|
| +++ b/src/parsing/preparser.cc
|
| @@ -151,8 +151,6 @@ PreParser::PreParseResult PreParser::PreParseFunction(
|
| if (is_strict(function_scope->language_mode())) {
|
| int end_pos = scanner()->location().end_pos;
|
| CheckStrictOctalLiteral(function_scope->start_position(), end_pos, ok);
|
| - CheckDecimalLiteralWithLeadingZero(function_scope->start_position(),
|
| - end_pos);
|
| }
|
| }
|
| return kPreParseSuccess;
|
| @@ -217,7 +215,6 @@ PreParser::Expression PreParser::ParseFunctionLiteral(
|
| int end_position = scanner()->location().end_pos;
|
| if (is_strict(language_mode)) {
|
| CheckStrictOctalLiteral(start_position, end_position, CHECK_OK);
|
| - CheckDecimalLiteralWithLeadingZero(start_position, end_position);
|
| }
|
| function_scope->set_end_position(end_position);
|
|
|
|
|