Skip to content

Commit 155b610

Browse files
DanielRosenwasserljharb
authored andcommitted
Editorial: Added 'yield' example for line terminator grammar restrictions (#1193)
1 parent 4975f4f commit 155b610

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10975,6 +10975,7 @@ <h1>Rules of Automatic Semicolon Insertion</h1>
1097510975
ArrowParameters[?Yield, ?Await] [no LineTerminator here] `=&gt;` ConciseBody[?In]
1097610976

1097710977
YieldExpression[In, Await] :
10978+
`yield`
1097810979
`yield` [no LineTerminator here] AssignmentExpression[?In, +Yield, ?Await]
1097910980
`yield` [no LineTerminator here] `*` AssignmentExpression[?In, +Yield, ?Await]
1098010981
</emu-grammar>

0 commit comments

Comments
 (0)