diff --git a/DEPENDENCIES b/DEPENDENCIES index 59f083c..a476071 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -1,6 +1,6 @@ vendorpull https://github.com/sourcemeta/vendorpull dea311b5bfb53b6926a4140267959ae334d3ecf4 noa https://github.com/sourcemeta/noa 517e88aef5981b88ac6bb8caff15d17dffcb4320 -jsontoolkit https://github.com/sourcemeta/jsontoolkit b5c8f63fbc4b4b7a9cd4bdd71774d89db6ee2a99 +jsontoolkit https://github.com/sourcemeta/jsontoolkit 9abbaee71e9e00e95632858d29c7ebe5c2a723b0 hydra https://github.com/sourcemeta/hydra 3c53d3fdef79e9ba603d48470a508cc45472a0dc alterschema https://github.com/sourcemeta/alterschema 358df64771979da64e043a416cf340d83a5382ca jsonbinpack https://github.com/sourcemeta/jsonbinpack 3046d0b9820b7da7f10645ca5fae6b0ffb749422 diff --git a/vendor/jsontoolkit/src/evaluator/CMakeLists.txt b/vendor/jsontoolkit/src/evaluator/CMakeLists.txt index 075dadc..1140bc9 100644 --- a/vendor/jsontoolkit/src/evaluator/CMakeLists.txt +++ b/vendor/jsontoolkit/src/evaluator/CMakeLists.txt @@ -7,6 +7,10 @@ if(JSONTOOLKIT_INSTALL) noa_library_install(NAMESPACE sourcemeta PROJECT jsontoolkit NAME evaluator) endif() +if(PROJECT_IS_TOP_LEVEL) + noa_add_vectorization_diagnostics(sourcemeta_jsontoolkit_evaluator) +endif() + target_link_libraries(sourcemeta_jsontoolkit_evaluator PUBLIC sourcemeta::jsontoolkit::json) target_link_libraries(sourcemeta_jsontoolkit_evaluator PUBLIC diff --git a/vendor/jsontoolkit/src/json/stringify.h b/vendor/jsontoolkit/src/json/stringify.h index eec7cf2..2acb9bc 100644 --- a/vendor/jsontoolkit/src/json/stringify.h +++ b/vendor/jsontoolkit/src/json/stringify.h @@ -6,7 +6,8 @@ #include #include // std::transform, std::sort -#include // std::showpoint, std::noshowpoint +#include // std::setprecision +#include // std::noshowpoint, std::fixed #include // std::next, std::cbegin, std::cend, std::back_inserter #include // std::basic_ostream #include // std::to_string @@ -64,14 +65,23 @@ auto stringify( template