Skip to content

Commit

Permalink
Editorial: minor grammar refactoring re Punctuator
Browse files Browse the repository at this point in the history
Move the Punctuator production back to its former position.
(Grammars are generally written top-down.)
  • Loading branch information
jmdyck committed Feb 5, 2020
1 parent f5e7449 commit 96ae603
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -11098,6 +11098,10 @@ <h2>Syntax</h2>
<h1>Punctuators</h1>
<h2>Syntax</h2>
<emu-grammar type="definition">
Punctuator ::
OptionalChainingPunctuator
OtherPunctuator

OptionalChainingPunctuator ::
`?.` [lookahead &lt;! DecimalDigit]

Expand All @@ -11116,10 +11120,6 @@ <h2>Syntax</h2>
`=` `+=` `-=` `*=` `%=` `**=` `&lt;&lt;=` `&gt;&gt;=` `&gt;&gt;&gt;=` `&amp;=` `|=` `^=`
`=&gt;`

Punctuator ::
OptionalChainingPunctuator
OtherPunctuator

DivPunctuator ::
`/`
`/=`
Expand Down Expand Up @@ -41538,9 +41538,9 @@ <h1>Lexical Grammar</h1>
<emu-prodref name=UnicodeIDStart></emu-prodref>
<emu-prodref name=UnicodeIDContinue></emu-prodref>
<emu-prodref name=ReservedWord></emu-prodref>
<emu-prodref name=Punctuator></emu-prodref>
<emu-prodref name=OptionalChainingPunctuator></emu-prodref>
<emu-prodref name=OtherPunctuator></emu-prodref>
<emu-prodref name=Punctuator></emu-prodref>
<emu-prodref name=DivPunctuator></emu-prodref>
<emu-prodref name=RightBracePunctuator></emu-prodref>
<emu-prodref name=NullLiteral></emu-prodref>
Expand Down

0 comments on commit 96ae603

Please sign in to comment.