mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:38:11 +00:00
LibUnicode: Move GenerateUnicodeData's Alias struct to generator header
This will be used for locale aliases as well. Also rename the "property" field in this struct to "name", as it no longer is only used for property aliases.
This commit is contained in:
parent
186e1b7624
commit
9d1519e21c
2 changed files with 7 additions and 8 deletions
|
@ -91,6 +91,11 @@ private:
|
|||
HashMap<StringView, StringIndexType> m_unique_string_indices;
|
||||
};
|
||||
|
||||
struct Alias {
|
||||
String name;
|
||||
String alias;
|
||||
};
|
||||
|
||||
template<typename StringIndexType>
|
||||
struct CanonicalLanguageID {
|
||||
static Optional<CanonicalLanguageID> parse(UniqueStringStorage<StringIndexType>& unique_strings, StringView language)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue