| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 51486c9b79445dafc91f5b26e6340c4334afb3f3..c0fbf55d0acf75103a658ca863ff90a371d96d10 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -791,8 +791,6 @@ FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) {
|
|
|
| if (ok && is_strict(language_mode())) {
|
| CheckStrictOctalLiteral(beg_pos, scanner()->location().end_pos, &ok);
|
| - CheckDecimalLiteralWithLeadingZero(beg_pos,
|
| - scanner()->location().end_pos);
|
| }
|
| if (ok && is_sloppy(language_mode())) {
|
| // TODO(littledan): Function bindings on the global object that modify
|
| @@ -2709,8 +2707,6 @@ FunctionLiteral* Parser::ParseFunctionLiteral(
|
| if (is_strict(language_mode)) {
|
| CheckStrictOctalLiteral(scope->start_position(), scope->end_position(),
|
| CHECK_OK);
|
| - CheckDecimalLiteralWithLeadingZero(scope->start_position(),
|
| - scope->end_position());
|
| }
|
| CheckConflictingVarDeclarations(scope, CHECK_OK);
|
| } // DiscardableZoneScope goes out of scope.
|
|
|