Lines Matching refs:location
63 local location = ("%s:%d"):format(l_fname, l_lineno)
64 if by_location[location] == nil then
65 by_location[location] = {}
67 table.insert(by_location[location], l_msg)
76 ---@type {filename: string, lineno: number, location: string, message: string}[]
79 for location, messages in pairs(by_location) do
81 if message ~= "" and location:find(".mk:") then
82 local filename, lineno = location:match("^(%S+):(%d+)$")
86 location = location,
145 local location = ("%s:%d"):format(mk_fname, mk_lineno + tonumber(offset))
148 if by_location[location] ~= nil then
149 for i, message in ipairs(by_location[location]) do
151 by_location[location][i] = ""
169 print_error("missing: %s: # expect+1: %s", m.location, m.message)