summaryrefslogtreecommitdiff
path: root/Meta/Lagom
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-30 16:46:19 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-31 00:32:41 +0000
commit481ced53d85444280039ec9c33834eb98f16a5b6 (patch)
treeb6a6d017a566c710f1724c499fdfe1aeb9e8900c /Meta/Lagom
parentebd33e580b1b734197f678071545b66883302808 (diff)
downloadserenity-481ced53d85444280039ec9c33834eb98f16a5b6.zip
LibUnicode: Generate a list of available numbering systems
Diffstat (limited to 'Meta/Lagom')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp
index 167a9e1e46..0c433a74aa 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp
@@ -869,6 +869,8 @@ struct Unit {
};
)~~~");
+ generate_available_values(generator, "get_available_number_systems"sv, locale_data.number_systems);
+
locale_data.unique_formats.generate(generator, "NumberFormatImpl"sv, "s_number_formats"sv, 10);
locale_data.unique_format_lists.generate(generator, s_number_format_index_type, "s_number_format_lists"sv);
locale_data.unique_symbols.generate(generator, s_string_index_type, "s_numeric_symbol_lists"sv);