Lines Matching refs:msgs
2 -- $NetBSD: check-msgs.lua,v 1.2 2021/09/10 21:05:08 rillig Exp $
6 usage: lua ./check-msgs.lua *.c
15 local msgs = {} ---@type table<number>string
21 msgs[tonumber(id)] = msg
27 return msgs
39 local function check_message(fname, lineno, id, comment, msgs)
40 local msg = msgs[id]
66 local function check_file(fname, msgs)
78 check_message(fname, lineno, id, comment, msgs)
81 fname, lineno, id, msgs[id])
93 local msgs = load_messages("msg.c")
95 check_file(fname, msgs)