Module:xchc-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 51: Line 51:
if g ~= "i" and g ~= "a" then error("Unknown gender: it must be either ‘i’ or ‘a’") end
if g ~= "i" and g ~= "a" then error("Unknown gender: it must be either ‘i’ or ‘a’") end
local data = {}
data = {}
data.word = word
data.word = word
data.g = g
data.g = g