Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 86d66c056a6f5b9735507ae665d2c708e4fd23f7..ce3dd20d359310a1b89eda3d05c88551127537d8 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -943,8 +943,6 @@ |
if (ok && is_strict(language_mode())) { |
CheckStrictOctalLiteral(beg_pos, scanner()->location().end_pos, &ok); |
- CheckDecimalLiteralWithLeadingZero(use_counts_, beg_pos, |
- scanner()->location().end_pos); |
} |
if (ok && is_sloppy(language_mode())) { |
// TODO(littledan): Function bindings on the global object that modify |
@@ -4178,8 +4176,6 @@ |
if (is_strict(language_mode)) { |
CheckStrictOctalLiteral(scope->start_position(), scope->end_position(), |
CHECK_OK); |
- CheckDecimalLiteralWithLeadingZero(use_counts_, scope->start_position(), |
- scope->end_position()); |
} |
if (is_sloppy(language_mode)) { |
InsertSloppyBlockFunctionVarBindings(scope, CHECK_OK); |