Skip to content

Commit

Permalink
Editorial: Remove duplicated grammar definitions
Browse files Browse the repository at this point in the history
These duplicates of grammar productions in ECMA-262 were present because
grammarkdown didn't link to the productions from biblio.json. The current
version does this correctly, so we can remove this duplicated section.
  • Loading branch information
ptomato committed Jan 22, 2024
1 parent 120956a commit 591de66
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions spec/mainadditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,30 +85,6 @@ <h1>
</emu-clause>
</ins>

<emu-clause id="sec-literals-numeric-literals">
<h1><a href="https://tc39.es/ecma262/#sec-literals-numeric-literals">Numeric Literals</a></h1>
<emu-note type="editor">
<p>
No changes, but these productions must be present for symbol references because biblio.json contents are not propagated to grammarkdown.
</p>
</emu-note>
<emu-grammar type="definition">
NumericLiteralSeparator ::
`_`

DecimalDigits[Sep] ::
DecimalDigit
DecimalDigits[?Sep] DecimalDigit
[+Sep] DecimalDigits[+Sep] NumericLiteralSeparator DecimalDigit

DecimalDigit :: one of
`0` `1` `2` `3` `4` `5` `6` `7` `8` `9`

NonZeroDigit :: one of
`1` `2` `3` `4` `5` `6` `7` `8` `9`
</emu-grammar>
</emu-clause>

<emu-clause id="sec-mathematical-operations">
<h1>Mathematical Operations</h1>
<p>[...]</p>
Expand Down

0 comments on commit 591de66

Please sign in to comment.