mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-25 14:00:18 +00:00
update unicode data
This commit is contained in:
parent
fa6a8d921c
commit
10ce995780
@ -482,6 +482,7 @@ const char* c11__search_u32_ranges(int c, const c11_u32_range* p, int n_ranges)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
const static c11_u32_range kLoRanges[] = {
|
||||
{ 170, 170 },
|
||||
{ 186, 186 },
|
||||
@ -985,6 +986,7 @@ const static c11_u32_range kLoRanges[] = {
|
||||
{ 194560, 195101 },
|
||||
{ 196608, 201546 },
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
bool c11__is_unicode_Lo_char(int c) {
|
||||
if(c == 0x1f955) return true;
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
#include "pocketpy/objects/base.h"
|
||||
#include "pocketpy/pocketpy.h"
|
||||
|
||||
// clang-format off
|
||||
const static c11_u32_range kEastAsianWidthRanges[] = {
|
||||
{ 32, 126, "Na\0" },
|
||||
{ 161, 161, "A\0" },
|
||||
@ -1019,6 +1020,7 @@ const static c11_u32_range kEastAsianWidthRanges[] = {
|
||||
{ 1048576, 1114109, "A\0" },
|
||||
{ 1114110, 1114111, "F\0" },
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
const static char* c11__u32_east_asian_width(int c) {
|
||||
const char* data =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user