Skip to content

Commit

Permalink
regen/unicode_constants.pl: Add Arabic radix
Browse files Browse the repository at this point in the history
This will be helpful to vutil.c
  • Loading branch information
khwilliamson committed Jul 10, 2023
1 parent 7beabcd commit f360b1c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regen/unicode_constants.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1043,3 +1043,7 @@ END
U+00FF native
U+00B5 native
U+00B5 string
U+066B string
U+066B first
U+066B tail
U+066B first_s
12 changes: 12 additions & 0 deletions unicode_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ bytes.
# define LATIN_SMALL_LETTER_Y_WITH_DIAERESIS_NATIVE 0xFF /* U+00FF */
# define MICRO_SIGN_NATIVE 0xB5 /* U+00B5 */
# define MICRO_SIGN_UTF8 "\xC2\xB5" /* U+00B5 */
# define ARABIC_DECIMAL_SEPARATOR_UTF8 "\xD9\xAB" /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_FIRST_BYTE 0xD9 /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_TAIL "\xAB" /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_FIRST_BYTE_s "\xD9" /* U+066B */

# ifdef PERL_IN_TOKE_C
/* Paired characters for quote-like operators, in UTF-8 */
Expand Down Expand Up @@ -151,6 +155,10 @@ bytes.
# define LATIN_SMALL_LETTER_Y_WITH_DIAERESIS_NATIVE 0xDF /* U+00FF */
# define MICRO_SIGN_NATIVE 0xA0 /* U+00B5 */
# define MICRO_SIGN_UTF8 "\x80\x64" /* U+00B5 */
# define ARABIC_DECIMAL_SEPARATOR_UTF8 "\xB8\x62\x52" /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_FIRST_BYTE 0xB8 /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_TAIL "\x62\x52" /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_FIRST_BYTE_s "\xB8" /* U+066B */

# ifdef PERL_IN_TOKE_C
/* Paired characters for quote-like operators, in UTF-8 */
Expand Down Expand Up @@ -212,6 +220,10 @@ bytes.
# define LATIN_SMALL_LETTER_Y_WITH_DIAERESIS_NATIVE 0xDF /* U+00FF */
# define MICRO_SIGN_NATIVE 0xA0 /* U+00B5 */
# define MICRO_SIGN_UTF8 "\x78\x63" /* U+00B5 */
# define ARABIC_DECIMAL_SEPARATOR_UTF8 "\xB7\x5F\x52" /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_FIRST_BYTE 0xB7 /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_TAIL "\x5F\x52" /* U+066B */
# define ARABIC_DECIMAL_SEPARATOR_UTF8_FIRST_BYTE_s "\xB7" /* U+066B */

# ifdef PERL_IN_TOKE_C
/* Paired characters for quote-like operators, in UTF-8 */
Expand Down

0 comments on commit f360b1c

Please sign in to comment.