diff options
author | liamDevine <unknown> | 2011-04-30 01:56:36 +0400 |
---|---|---|
committer | liamDevine <unknown> | 2011-04-30 01:56:36 +0400 |
commit | 5c015131c8c89c9bc89ffe64bb0402dadea2c42e (patch) | |
tree | b7e89ab2576ef09c0a13343df80b18e8d6c93f64 | |
parent | a0fa8c04e03961b509bb5cbe5607d741568d8c1d (diff) |
kind is a function in _G. Changed function 'merge' to use the string 'kind' instead of the function for the table key.
-rw-r--r-- | src/base/configs.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/configs.lua b/src/base/configs.lua index 1cebd8b..6be0de1 100644 --- a/src/base/configs.lua +++ b/src/base/configs.lua @@ -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 |