summaryrefslogtreecommitdiff
path: root/scripts/generate-style-code.js
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-10-02 17:03:50 -0700
committerChris Loer <chris.loer@mapbox.com>2018-10-15 13:15:46 -0700
commitce76bde13d0f4381ee861f81daf636defaff0bc5 (patch)
treee37d93d14fc64620069bac5488bae871af2fa431 /scripts/generate-style-code.js
parentbc718257748f1ad87658e85f8c31b574afca57a9 (diff)
downloadqtlocation-mapboxgl-ce76bde13d0f4381ee861f81daf636defaff0bc5.tar.gz
[core] Initial implementation of 'format' expression
Diffstat (limited to 'scripts/generate-style-code.js')
-rwxr-xr-xscripts/generate-style-code.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js
index 8b9b6ba5a2..121d2d774a 100755
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -38,6 +38,7 @@ global.evaluatedType = function (property) {
case 'number':
return 'float';
case 'formatted':
+ return 'expression::Formatted';
case 'string':
return 'std::string';
case 'enum':