| Index: src/parsing/preparser.cc
|
| diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc
|
| index b2732f553bf6b21aee80e7f94dba7b2ea888ff7a..68372f841a7ea7811129db20ff93046c174dbbf2 100644
|
| --- a/src/parsing/preparser.cc
|
| +++ b/src/parsing/preparser.cc
|
| @@ -134,7 +134,6 @@
|
| if (is_strict(scope_->language_mode())) {
|
| int end_pos = scanner()->location().end_pos;
|
| CheckStrictOctalLiteral(start_position, end_pos, &ok);
|
| - CheckDecimalLiteralWithLeadingZero(use_counts, start_position, end_pos);
|
| if (!ok) return kPreParseSuccess;
|
| }
|
| }
|
| @@ -1107,8 +1106,6 @@
|
| if (is_strict(language_mode)) {
|
| int end_position = scanner()->location().end_pos;
|
| CheckStrictOctalLiteral(start_position, end_position, CHECK_OK);
|
| - CheckDecimalLiteralWithLeadingZero(use_counts_, start_position,
|
| - end_position);
|
| }
|
|
|
| return Expression::Default();
|
|
|