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:
parent
d2d304fcf8
commit
29f76ef7c8
3 changed files with 71 additions and 3 deletions
|
@ -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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue