From 6b05bc56ba4e3c7a2b9922c4282d9eb844426d9b Mon Sep 17 00:00:00 2001 From: Ross Kirsling Date: Wed, 11 Dec 2019 17:38:20 -0800 Subject: [PATCH] Editorial: Improve readability in 11.10 (#1808) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 229abee9a1..201e93044a 100644 --- a/spec.html +++ b/spec.html @@ -12260,7 +12260,7 @@

Interesting Cases of Automatic Semicolon Insertion

As new syntactic features are added to ECMAScript, additional grammar productions could be added that cause lines relying on automatic semicolon insertion preceding them to change grammar productions when parsed.

-

The interesting cases of automatic semicolon insertion are places where a semicolon may or may not be inserted depending on preceding source text according to the rules above. These places are considered interesting if changes outside of an existing source text grammar production could change the grammar production of the existing source text depending on automatic semicolon insertion. The rest of this section describes a number of interesting cases of automatic semicolon insertion in this version of ECMAScript.

+

For the purposes of this section, a case of automatic semicolon insertion is considered interesting if it is a place where a semicolon may or may not be inserted, depending on the source text which precedes it. The rest of this section describes a number of interesting cases of automatic semicolon insertion in this version of ECMAScript.

Interesting Cases of Automatic Semicolon Insertion in Statement Lists

In a |StatementList|, many |StatementListItem|s end in semicolons, which may be omitted using automatic semicolon insertion. As a consequence of the rules above, at the end of a line ending an expression, a semicolon is required if the following line begins with any of the following: