Skip to content

Commit 2f8877d

Browse files
committed
Added _ (underscore) separators to Unicode escapes
1 parent 74f22eb commit 2f8877d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/tokens.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ evaluated (primarily) at compile time.
9797
>    | `\n` | `\r` | `\t` | `\\` | `\0`
9898
>
9999
> UNICODE_ESCAPE :
100-
>       `\u{` HEX_DIGIT `}`
101-
>    | `\u{` HEX_DIGIT HEX_DIGIT `}`
102-
>    | `\u{` HEX_DIGIT HEX_DIGIT HEX_DIGIT `}`
103-
>    | `\u{` HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT `}`
104-
>    | `\u{` HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT`}`
105-
>    | `\u{` HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT`}`
100+
> &nbsp;&nbsp; &nbsp;&nbsp; `\u{` HEX_DIGIT `_`<sup>\*</sup> `}`
101+
> &nbsp;&nbsp; | `\u{` HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> `}`
102+
> &nbsp;&nbsp; | `\u{` HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> `}`
103+
> &nbsp;&nbsp; | `\u{` HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> `}`
104+
> &nbsp;&nbsp; | `\u{` HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> `}`
105+
> &nbsp;&nbsp; | `\u{` HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> HEX_DIGIT `_`<sup>\*</sup> `}`
106106
107107
A _character literal_ is a single Unicode character enclosed within two
108108
`U+0027` (single-quote) characters, with the exception of `U+0027` itself,

0 commit comments

Comments
 (0)