diff --git a/spec.html b/spec.html index 0c971d0b05e..698a9b7a5c5 100644 --- a/spec.html +++ b/spec.html @@ -12123,7 +12123,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 thus places 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.

+

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: