Skip to content

Commit

Permalink
Editorial: fix various grammar rendering issues with latest Emu
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson committed Feb 26, 2016
1 parent 0ae7212 commit 7ba2fec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"license": "SEE LICENSE IN https://tc39.github.io/ecma262/#sec-copyright-and-software-license",
"homepage": "https://tc39.github.io/ecma262/",
"dependencies": {
"ecmarkup": "^3.1.0"
"ecmarkup": "^3.1.1"
},
"devDependencies": {
"@alrra/travis-scripts": "^2.0.0"
Expand Down
12 changes: 6 additions & 6 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -27328,13 +27328,13 @@ <h2>Syntax</h2>
<p>Each `\\u` |TrailSurrogate| for which the choice of associated `u` |LeadSurrogate| is ambiguous shall be associated with the nearest possible `u` |LeadSurrogate| that would otherwise have no corresponding `\\u` |TrailSurrogate|.</p>
<emu-grammar>
LeadSurrogate ::
Hex4Digits [match only if the SV of Hex4Digits is in the inclusive range 0xD800 to 0xDBFF]
Hex4Digits [> match only if the SV of |Hex4Digits| is in the inclusive range 0xD800 to 0xDBFF]

TrailSurrogate ::
Hex4Digits [match only if the SV of Hex4Digits is in the inclusive range 0xDC00 to 0xDFFF]
Hex4Digits [> match only if the SV of |Hex4Digits| is in the inclusive range 0xDC00 to 0xDFFF]

NonSurrogate ::
Hex4Digits [match only if the SV of Hex4Digits is not in the inclusive range 0xD800 to 0xDFFF]
Hex4Digits [> match only if the SV of |Hex4Digits| is not in the inclusive range 0xD800 to 0xDFFF]

IdentityEscape[U] ::
[+U] SyntaxCharacter
Expand Down Expand Up @@ -35903,7 +35903,7 @@ <h2>Syntax</h2>
[+U] DecimalEscape
[+U] CharacterEscape[U]
[+U] CharacterClassEscape
[~U] DecimalEscape but only if the integer value of DecimalEscape is &lt;= _NcapturingParens_
[~U] DecimalEscape [> but only if the integer value of DecimalEscape is &lt;= _NcapturingParens_]
[~U] CharacterClassEscape
[~U] CharacterEscape

Expand Down Expand Up @@ -35954,7 +35954,7 @@ <h2>Syntax</h2>
[+U] CharacterEscape[U]
[+U] CharacterClassEscape
[+U] `-`
[~U] DecimalEscape but only if the integer value of DecimalEscape is 0
[~U] DecimalEscape [> but only if the integer value of |DecimalEscape| is 0]
[~U] CharacterClassEscape
[~U] `c` ClassControlLetter
[~U] CharacterEscape
Expand Down Expand Up @@ -36028,7 +36028,7 @@ <h1>Pattern Semantics</h1>
<p>The production <emu-grammar>ClassAtomNoDashInRange :: SourceCharacter but not one of `]` or `-`</emu-grammar> evaluates by returning a one-element CharSet containing the character represented by |SourceCharacter|.</p>

<p>ClassEscape (<emu-xref href="#sec-classescape"></emu-xref>) includes the following additional evaluation rules:</p>
<p>The production <emu-grammar>ClassEscape :: DecimalEscape but only if &hellip;</emu-grammar> evaluates as follows:</p>
<p>The production <emu-grammar>ClassEscape :: DecimalEscape [> but only if &hellip;]</emu-grammar> evaluates as follows:</p>
<emu-alg>
1. Evaluate |DecimalEscape| to obtain an EscapeValue _E_.
1. Assert: _E_ is a character.
Expand Down

0 comments on commit 7ba2fec

Please sign in to comment.