diff options
| author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-05 23:31:43 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-05 23:31:43 +0530 |
| commit | 3f3c3a8d9779e38f67034923a1d2491ef9753db0 (patch) | |
| tree | 15d5a12f012ffc817e65f2ad146d82621e7a0ce1 /mkelf.lua | |
| parent | 763930302205c61e4909dc429d61e33624d61d6b (diff) | |
Section index in error message.
Diffstat (limited to 'mkelf.lua')
| -rw-r--r-- | mkelf.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -60,13 +60,13 @@ local function setup_sections(state) error(("section #%d must be a table"):format(i), 2) end if not s.name then - error(("name is required in section"):format(i), 2) + error(("name is required in section #%d"):format(i), 2) end if not s.type then - error(("type is required in section"):format(i), 2) + error(("type is required in section #%d"):format(i), 2) end if not s.flags then - error(("flags required in section"):format(i), 2) + error(("flags required in section #%d"):format(i), 2) end table.insert(state.scopts, s) end |
