mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
chore: include better diagnostics in json error messages
This commit is contained in:
parent
ae6984dff9
commit
4d0096b634
3
thirdparty/json.lua
vendored
3
thirdparty/json.lua
vendored
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user