diff --git a/spec.html b/spec.html index d847205005b..a1d3c576774 100644 --- a/spec.html +++ b/spec.html @@ -14329,7 +14329,7 @@
A string literal is 0 or more Unicode code points enclosed in single or double quotes. Unicode code points may also be represented by an escape sequence. All code points may appear literally in a string literal except for the closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN), and U+000A (LINE FEED). Any code points may appear in the form of an escape sequence. String literals evaluate to ECMAScript String values. When generating these String values Unicode code points are UTF-16 encoded as defined in
It is possible for string literals to precede a Use Strict Directive that places the enclosing code in
@@ -24606,7 +24606,7 @@ Forbidden Extensions
When processing strict mode code, an implementation must not relax the early error rules of .
- |TemplateCharacter| must not be extended to include |LegacyOctalEscapeSequence| or |NonOctalDecimalEscapeSequence| as defined in .
+ |TemplateEscapeSequence| must not be extended to include |LegacyOctalEscapeSequence| or |NonOctalDecimalEscapeSequence| as defined in .
When processing strict mode code, the extensions defined in , , , and must not be supported.
@@ -41864,17 +41864,6 @@ Additional ECMAScript Features for Web Browsers
Additional Syntax
-
- String Literals
- The following syntax from , and its associated semantics, used to be normative optional:
-
- EscapeSequence :: LegacyOctalEscapeSequence
-
- EscapeSequence :: NonOctalDecimalEscapeSequence
-
- and the productions for |LegacyOctalEscapeSequence|, |ZeroToThree|, and |FourToSeven|.
-
-
HTML-like Comments
The syntax and semantics of is extended as follows except that this extension is not allowed when parsing source code using the goal symbol |Module|: