Skip to content

Commit

Permalink
Editorial: Improve readability in 11.10 (tc39#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkirsling authored and ljharb committed Feb 20, 2020
1 parent c654de2 commit 6b05bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -12260,7 +12260,7 @@ <h1>Interesting Cases of Automatic Semicolon Insertion</h1>

<p>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.</p>

<p>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.</p>
<p>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.</p>
<emu-clause id="sec-asi-interesting-cases-in-statement-lists">
<h1>Interesting Cases of Automatic Semicolon Insertion in Statement Lists</h1>
<p>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:</p>
Expand Down

0 comments on commit 6b05bc5

Please sign in to comment.