Skip to content

Commit

Permalink
Editorial: Fix bug in Annex B defn of AtomEscape (tc39#2235)
Browse files Browse the repository at this point in the history
Specifically, change:
    AtomEscape[U, N] :: CharacterEscape[~U, ?N]
to:
    AtomEscape[U, N] :: CharacterEscape[?U, ?N]

This fixes a bug that PR tc39#403 introduced way back in 2016.

Resolves issue tc39#1672 (which see for some discussion).
  • Loading branch information
jmdyck authored and ljharb committed Dec 2, 2020
1 parent 67dc0c2 commit 3db2f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -42164,7 +42164,7 @@ <h2>Syntax</h2>
[+U] DecimalEscape
[~U] DecimalEscape [> but only if the CapturingGroupNumber of |DecimalEscape| is &lt;= _NcapturingParens_]
CharacterClassEscape[?U]
CharacterEscape[~U, ?N]
CharacterEscape[?U, ?N]
[+N] `k` GroupName[?U]

CharacterEscape[U, N] ::
Expand Down

0 comments on commit 3db2f0d

Please sign in to comment.