mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-10 21:22:53 +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
Notes:
sideshowbarker
2024-07-18 07:07:01 +09:00
Author: https://github.com/trflynn89
Commit: b06c104076
Pull-request: https://github.com/SerenityOS/serenity/pull/9333
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