[*] amend rtti

This commit is contained in:
Reece Wilson 2023-06-29 12:48:09 +01:00
parent 397b574607
commit 9879d42c5d

View File

@ -8,7 +8,7 @@ local __pRunTasks = function(processor, object, map, tasks, inc)
end
local function filterForKey(obj, key, callback, expandArray)
if (not obj) then
if (obj == nil) then
return
end
@ -437,7 +437,7 @@ local function auBlockProjectKeyBigObject(processor, value)
end)
end
local function auBlockProjectKeyBigRtti(processor, value)
local function auBlockProjectKeyRtti(processor, value)
if (value) then
rtti "On"
else
@ -520,7 +520,7 @@ kGenericTasks = {
"msvcIgnore", "excludes", "depends", "require", "m4", "vala",
"eval", "lua", "events", "actions", "staticImpDefines", "features",
"links", "soft-depends", "resourceScript", "protobuf", "unpack",
"bigObject"
"bigObject", "rtti"
}
local kReferenceTasks = {"eval", "includes", "defines", "include", "includes", "protobuf", "actions"} --, "features"}
@ -529,7 +529,7 @@ local kReferenceTasks = {"eval", "includes", "defines", "include", "includes", "
__pRunTasks = function(processor, object, map, tasks, inc, resolve)
auForEachKV(tasks, function(na, key)
local value = object[key]
if (not value) then
if (value == nil) then
return
end
map[key](processor, value, map, tasks, inc, resolve, object)