Module:qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 82: Line 82:
-- Generate the forms
-- Generate the forms
if alldata[word] then
if alldata[word] then
return alldata[word](arguments, pass).forms[arguments[2] .. "-" .. arguments[3]]
alldata[word](parent_args, pass)
else
else
return alldata[decl_type](args, pass).forms["gen-sg"]
alldata[decl_type](args, pass)
end
end
return pass.forms[arguments[2] .. "-" .. arguments[3]]
end
end