Skip to content

Commit

Permalink
Editorial: Include forbiden NonOctalDecimalIntegerLiteral extension i…
Browse files Browse the repository at this point in the history
…n 16.2 and Annex C (fixes #189)
  • Loading branch information
bterlson committed Jan 15, 2016
1 parent 246e735 commit 518c581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -21550,7 +21550,7 @@ <h1>Forbidden Extensions</h1>
The Syntactic Grammar must not be extended in any manner that allows the token `:` to immediate follow source text that matches the |BindingIdentifier| nonterminal symbol.
</li>
<li>
When processing strict mode code, the syntax of |NumericLiteral| must not be extended to include |LegacyOctalIntegerLiteral| as defined in <emu-xref href="#sec-additional-syntax-numeric-literals"></emu-xref>.
When processing strict mode code, the syntax of |NumericLiteral| must not be extended to include |LegacyOctalIntegerLiteral| and the syntax of |DecimalIntegerLiteral| must not be extended to include |NonOctalDecimalIntegerLiteral| as described in <emu-xref href="#sec-additional-syntax-numeric-literals"></emu-xref>.
</li>
<li>
|TemplateCharacter| (<emu-xref href="#sec-template-literal-lexical-components"></emu-xref>) must not be extended to include |LegacyOctalEscapeSequence| as defined in <emu-xref href="#sec-additional-syntax-string-literals"></emu-xref>.
Expand Down Expand Up @@ -36639,7 +36639,7 @@ <h1>The Strict Mode of ECMAScript</h1>
`implements`, `interface`, `let`, `package`, `private`, `protected`, `public`, `static`, and `yield` are reserved words within strict mode code. (<emu-xref href="#sec-reserved-words"></emu-xref>).
</li>
<li>
A conforming implementation, when processing strict mode code, may not extend the syntax of |NumericLiteral| (<emu-xref href="#sec-literals-numeric-literals"></emu-xref>) to include |LegacyOctalIntegerLiteral| as described in <emu-xref href="#sec-additional-syntax-numeric-literals"></emu-xref>.
A conforming implementation, when processing strict mode code, must not extend, as described in <emu-xref href="#sec-additional-syntax-numeric-literals"></emu-xref>, the syntax of |NumericLiteral| to include |LegacyOctalIntegerLiteral|, nor extend the syntax of |DecimalIntegerLiteral| to include |NonOctalDecimalIntegerLiteral|.
</li>
<li>
A conforming implementation, when processing strict mode code, may not extend the syntax of |EscapeSequence| to include |LegacyOctalEscapeSequence| as described in <emu-xref href="#sec-additional-syntax-string-literals"></emu-xref>.
Expand Down

0 comments on commit 518c581

Please sign in to comment.