diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2019-06-03 15:34:13 +0300 |
---|---|---|
committer | Juha Alanen <19551460+jmalanen@users.noreply.github.com> | 2019-06-27 15:51:22 +0300 |
commit | 0ca8ea6f169149cd414a65f40d0f7bdd40f3cca3 (patch) | |
tree | db6a58892dd6326b8ba22da7fc822d008bdda01a /src/mbgl/style/expression/parsing_context.cpp | |
parent | 81ea5d020efd0257083bf323644a575f5ea800c9 (diff) | |
download | qtlocation-mapboxgl-0ca8ea6f169149cd414a65f40d0f7bdd40f3cca3.tar.gz |
[core] Add number-format expression
Diffstat (limited to 'src/mbgl/style/expression/parsing_context.cpp')
-rw-r--r-- | src/mbgl/style/expression/parsing_context.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/expression/parsing_context.cpp b/src/mbgl/style/expression/parsing_context.cpp index 411aa660e8..a7c04f563d 100644 --- a/src/mbgl/style/expression/parsing_context.cpp +++ b/src/mbgl/style/expression/parsing_context.cpp @@ -13,6 +13,7 @@ #include <mbgl/style/expression/coercion.hpp> #include <mbgl/style/expression/compound_expression.hpp> #include <mbgl/style/expression/comparison.hpp> +#include <mbgl/style/expression/number_format.hpp> #include <mbgl/style/expression/format_expression.hpp> #include <mbgl/style/expression/interpolate.hpp> #include <mbgl/style/expression/length.hpp> @@ -120,6 +121,7 @@ MAPBOX_ETERNAL_CONSTEXPR const auto expressionRegistry = mapbox::eternal::hash_m {"literal", Literal::parse}, {"match", parseMatch}, {"number", Assertion::parse}, + {"number-format", NumberFormat::parse}, {"object", Assertion::parse}, {"step", Step::parse}, {"string", Assertion::parse}, |