regen/unicode_constants: Create one for SHY

The soft hypen is treated specially in toke.c
This commit is contained in:
Karl Williamson 2025-10-19 10:34:04 -06:00 committed by Karl Williamson
parent 4222a60022
commit 5b21271e64
2 changed files with 4 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ U+FFFD string
U+10FFFF string MAX_UNICODE
SHY native
NBSP native
NBSP string

View File

@ -76,6 +76,7 @@ bytes.
# define MAX_UNICODE_UTF8 "\xF4\x8F\xBF\xBF" /* U+10FFFF */
# define SHY_NATIVE 0xAD /* U+00AD */
# define NBSP_NATIVE 0xA0 /* U+00A0 */
# define NBSP_UTF8 "\xC2\xA0" /* U+00A0 */
@ -142,6 +143,7 @@ bytes.
# define MAX_UNICODE_UTF8 "\xEE\x42\x73\x73\x73" /* U+10FFFF */
# define SHY_NATIVE 0xCA /* U+00AD */
# define NBSP_NATIVE 0x41 /* U+00A0 */
# define NBSP_UTF8 "\x80\x41" /* U+00A0 */
@ -208,6 +210,7 @@ bytes.
# define MAX_UNICODE_UTF8 "\xEE\x42\x72\x72\x72" /* U+10FFFF */
# define SHY_NATIVE 0xCA /* U+00AD */
# define NBSP_NATIVE 0x41 /* U+00A0 */
# define NBSP_UTF8 "\x78\x41" /* U+00A0 */