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
commit 30855e6663
Notes: sideshowbarker 2024-07-18 05:04:33 +09:00
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