From 4d0096b634f9bb4216cd179c2201a9c9992a5fcc Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 8 Aug 2024 19:22:06 +0200 Subject: [PATCH] chore: include better diagnostics in json error messages --- thirdparty/json.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/thirdparty/json.lua b/thirdparty/json.lua index 2e6e34f3..ddca7815 100644 --- a/thirdparty/json.lua +++ b/thirdparty/json.lua @@ -2,6 +2,9 @@ json = {} function json:include(includes) if includes:handle(self:name()) then + defines { + "JSON_DIAGNOSTICS=1" + } includedirs { path.join(ThirdPartyFolder(), "json", "single_include") }