diff -r e2face1be50e -r 3975fa5ed630 err.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/err.lua Sat Sep 12 21:27:57 2009 +0300 @@ -0,0 +1,11 @@ + +module("err", package.seeall) + +function file_pos(f, pos, e) + error(string.format("%s:%d: %s", f, pos, e)) +end + +function file(f, e) + error(string.format("%s %s", f, e)) +end +