kind is a function in _G. Changed function 'merge' to use the string 'kind' instead of the function for the table key.
This commit is contained in:
parent
a0fa8c04e0
commit
5c015131c8
@ -240,7 +240,7 @@
|
||||
|
||||
-- add `kind` to the filter terms
|
||||
if (cfg.kind) then
|
||||
terms[kind]=cfg.kind:lower()
|
||||
terms['kind']=cfg.kind:lower()
|
||||
end
|
||||
|
||||
-- now add in any blocks that match the filter terms
|
||||
@ -248,8 +248,8 @@
|
||||
if (premake.iskeywordsmatch(blk.keywords, terms))then
|
||||
mergeobject(cfg, blk)
|
||||
if (cfg.kind and not cfg.terms.kind) then
|
||||
cfg.terms[kind] = cfg.kind:lower()
|
||||
terms[kind] = cfg.kind:lower()
|
||||
cfg.terms['kind'] = cfg.kind:lower()
|
||||
terms['kind'] = cfg.kind:lower()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user