diff --git a/DEPENDENCIES b/DEPENDENCIES index c5f24ec4..b32f0e29 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -1,6 +1,6 @@ vendorpull https://github.com/sourcemeta/vendorpull 70342aaf458e6cb80baeb5b718901075fc42ede6 noa https://github.com/sourcemeta/noa 517e88aef5981b88ac6bb8caff15d17dffcb4320 -jsontoolkit https://github.com/sourcemeta/jsontoolkit b5c8f63fbc4b4b7a9cd4bdd71774d89db6ee2a99 +jsontoolkit https://github.com/sourcemeta/jsontoolkit 9abbaee71e9e00e95632858d29c7ebe5c2a723b0 bearssl https://www.bearssl.org/git/BearSSL 8ef7680081c61b486622f2d983c0d3d21e83caad zlib https://github.com/madler/zlib 51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf uwebsockets https://github.com/uNetworking/uWebSockets v20.67.0 diff --git a/vendor/jsontoolkit/src/evaluator/CMakeLists.txt b/vendor/jsontoolkit/src/evaluator/CMakeLists.txt index 075dadcd..1140bc9f 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 eec7cf2f..2acb9bcc 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