Fix normalization of strings with overflowing unicode

This commit is contained in:
Joshua Warner 2024-12-15 10:29:01 -08:00
parent 0d182fbd28
commit 4e3df6bde2
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
6 changed files with 44 additions and 4 deletions

View file

@ -0,0 +1,27 @@
@0-14 SpaceAfter(
Apply(
@0-1 Var {
module_name: "",
ident: "m",
},
[
@1-13 Str(
Line(
[
Unicode(
@5-11 "FFFFFF",
),
],
),
),
@13-14 Var {
module_name: "",
ident: "s",
},
],
Space,
),
[
Newline,
],
)

View file

@ -0,0 +1 @@
m"\u(FFFFFF)"s