Commit 382c27d2 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

method for printing config object-related warnings

parent 03e9ab3a
......@@ -43,6 +43,10 @@ end
function ConfigObject:error(msg) error(self.location..': '..msg) end
function ConfigObject:warning(msg)
io.stderr:write(self.location..': '..msg..'\n')
end
function ConfigObject:trules() return {} end
function ConfigObject:info()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment