Skip to content

Commit

Permalink
Editorial: "U" -> "UnicodeMode"
Browse files Browse the repository at this point in the history
Fixes bug from PR tc39#2436.

(The renaming happened in PR tc39#2411.)
  • Loading branch information
jmdyck committed Feb 16, 2023
1 parent b34e0d9 commit 944b125
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -36297,7 +36297,7 @@ <h1>
1. If _u_ is *true*, then
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[+UnicodeMode, +N]|).
1. Else,
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[~U, +N]|).
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[~UnicodeMode, +N]|).
1. Return _parseResult_.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -47643,11 +47643,11 @@ <h1>Static Semantics: ParsePattern ( _patternText_, _u_ )</h1>
<p>The abstract operation ParsePattern takes arguments _patternText_ (a sequence of Unicode code points) and _u_ (a Boolean). It performs the following steps when called:</p>
<emu-alg>
1. If _u_ is *true*, then
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[+U, +N]|).
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[+UnicodeMode, +N]|).
1. Else,
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[~U, ~N]|).
1. Let _parseResult_ be ParseText(_patternText_, |Pattern[~UnicodeMode, ~N]|).
1. If _parseResult_ is a Parse Node and _parseResult_ contains a |GroupName|, then
1. Set _parseResult_ to ParseText(_patternText_, |Pattern[~U, +N]|).
1. Set _parseResult_ to ParseText(_patternText_, |Pattern[~UnicodeMode, +N]|).
1. Return _parseResult_.
</emu-alg>
</emu-annex>
Expand Down

0 comments on commit 944b125

Please sign in to comment.