issue #70 crash

This commit is contained in:
steve donovan 2013-06-06 18:59:11 +02:00
parent d219d89449
commit 624cf7d742
1 changed files with 3 additions and 0 deletions

View File

@ -626,6 +626,9 @@ function Item:finish()
local names = List()
self.subparams = {}
for i,name in ipairs(original_names) do
if type(name) ~= 'string' then
self:error("declared table cannot have array entries")
end
local pname,field = split_iden(name)
if field then
if not fields then