From bcb0d8e7eb53865f627cadd79eb181de34e86f5a Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 3 Jun 2015 13:53:44 +0800 Subject: uses table.insert --- xmake/scripts/base/project.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/scripts/base/project.lua') diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index ce6397163..3fc119330 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -98,7 +98,7 @@ function project._make_configs(scope, configs) local item = scope[k] -- append it - item[table.getn(item) + 1] = _v + table.insert(item, _v) end -- replace configure to scope elseif scope and not k:startswith("_") then -- cgit v1.3.1