mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 19:44:58 +00:00
LibUnicode: Include Unassigned code points in the Other General Category
Now that the generator parses unassigned General Category properties, it can include Unassigned (Cn) in the Other (C) category.
This commit is contained in:
parent
7dce2bfe23
commit
b06c104076
2 changed files with 20 additions and 3 deletions
|
@ -890,9 +890,7 @@ static void populate_general_category_unions(PropList& general_categories)
|
|||
populate_union("P"sv, Array { "Pc"sv, "Pd"sv, "Ps"sv, "Pe"sv, "Pi"sv, "Pf"sv, "Po"sv });
|
||||
populate_union("S"sv, Array { "Sm"sv, "Sc"sv, "Sk"sv, "So"sv });
|
||||
populate_union("Z"sv, Array { "Zs"sv, "Zl"sv, "Zp"sv });
|
||||
|
||||
// FIXME: This union should also contain "Cn" (Unassigned), which we don't parse yet.
|
||||
populate_union("C"sv, Array { "Cc"sv, "Cf"sv, "Cs"sv, "Co"sv });
|
||||
populate_union("C"sv, Array { "Cc"sv, "Cf"sv, "Cs"sv, "Co"sv, "Cn"sv });
|
||||
}
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue