nasty typo caused crash on table definitions. (borked commit)

This commit is contained in:
steve donovan 2011-06-18 11:45:45 +02:00
parent 41cb7417a8
commit 5c8a9d1e72
1 changed files with 142 additions and 142 deletions

View File

@ -106,7 +106,7 @@ function Lua:parse_function_header (tags,tok,toks)
end end
function Lua:parse_extra (tags,tok,toks) function Lua:parse_extra (tags,tok,toks)
if tags.class == 'table' and not tags.fields then if tags.class == 'table' and not tags.field then
local res local res
local stat,t,v = pcall(tok) local stat,t,v = pcall(tok)
if not stat then return nil end if not stat then return nil end