1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

LibUnicode: Parse locale extensions of the other extension form

This commit is contained in:
Timothy Flynn 2021-08-27 17:24:20 -04:00 committed by Linus Groh
parent d2d304fcf8
commit 29f76ef7c8
3 changed files with 71 additions and 3 deletions

View file

@ -43,7 +43,12 @@ struct TransformedExtension {
Vector<TransformedField> fields {};
};
using Extension = Variant<LocaleExtension, TransformedExtension>;
struct OtherExtension {
char key {};
Vector<StringView> values {};
};
using Extension = Variant<LocaleExtension, TransformedExtension, OtherExtension>;
struct LocaleID {
LanguageID language_id {};