Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index de6f3282bda56a0c294d019ff2521394c764b98c..7b3d91655f6b2033f3128d729bfef2fafcdd6d14 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -1045,7 +1045,7 @@ |
// can be reported later (in strict mode). |
// We don't report the error immediately, because the octal escape can |
// occur before the "use strict" directive. |
- if (c != '0' || i > 0 || c0_ == '8' || c0_ == '9') { |
+ if (c != '0' || i > 0) { |
octal_pos_ = Location(source_pos() - i - 1, source_pos() - 1); |
octal_message_ = MessageTemplate::kStrictOctalEscape; |
} |