diff options
| -rw-r--r-- | mkelf.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -47,16 +47,18 @@ local function loadconfig(fn) segment:normalize() segment:validate() end + segments = t end, sections = function(t) if type(t) ~= "table" then error("sections must be a table", 2) end for _, section in ipairs(t) do - section = setmetatable(t, section_mt) + section = setmetatable(section, section_mt) section:normalize() section:validate() end + sections = t end, }, __newindex = function(_, name) |
