Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 25, 2024
1 parent ebe8dcf commit 4258210
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,15 @@ contributors: Jordan Harband
1. Set _hex_ to StringPad(_hex_, 2, *"0"*, ~start~).
1. Append code point U+0078 (LATIN SMALL LETTER X) to _codePoints_.
1. Append the code points in StringToCodePoints(_hex_) to _codePoints_.
1. Else if the length of _hex_ > 4, then
1. Else if the length of _hex_ is 3 or 4, then
1. Set _hex_ to StringPad(_hex_, 4, *"0"*, ~start~).
1. Append code point U+0075 (LATIN SMALL LETTER U) to _codePoints_.
1. Append code point U+007B (LEFT CURLY BRACKET) to _codePoints_.
1. Append the code points in StringToCodePoints(_hex_) to _codePoints_.
1. Append code point U+007D (RIGHT CURLY BRACKET) to _codePoints_.
1. Else,
1. Assert: The length of _hex_ is at most 4.
1. Set _hex_ to StringPad(_hex_, 4, *"0"*, ~start~).
1. Append code point U+0075 (LATIN SMALL LETTER U) to _codePoints_.
1. Append code point U+007B (LEFT CURLY BRACKET) to _codePoints_.
1. Append the code points in StringToCodePoints(_hex_) to _codePoints_.
1. Append code point U+007D (RIGHT CURLY BRACKET) to _codePoints_.
1. Else,
1. Append _c_ to _codePoints_.
1. Return _codePoints_.
Expand Down

0 comments on commit 4258210

Please sign in to comment.