1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

LibUnicode: Parse locale private use extensions

This commit is contained in:
Timothy Flynn 2021-08-27 17:51:17 -04:00 committed by Linus Groh
parent 29f76ef7c8
commit 30855e6663
3 changed files with 65 additions and 1 deletions

View file

@ -53,6 +53,7 @@ using Extension = Variant<LocaleExtension, TransformedExtension, OtherExtension>
struct LocaleID {
LanguageID language_id {};
Vector<Extension> extensions {};
Vector<StringView> private_use_extensions {};
};
// Note: These methods only verify that the provided strings match the EBNF grammar of the