chore: include better diagnostics in json error messages

This commit is contained in:
Jan 2024-08-08 19:22:06 +02:00
parent ae6984dff9
commit 4d0096b634
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

3
thirdparty/json.lua vendored
View File

@ -2,6 +2,9 @@ json = {}
function json:include(includes) function json:include(includes)
if includes:handle(self:name()) then if includes:handle(self:name()) then
defines {
"JSON_DIAGNOSTICS=1"
}
includedirs { includedirs {
path.join(ThirdPartyFolder(), "json", "single_include") path.join(ThirdPartyFolder(), "json", "single_include")
} }