diff options
-rw-r--r-- | relabel.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/relabel.lua b/relabel.lua index 775789b..ead1f10 100644 --- a/relabel.lua +++ b/relabel.lua | |||
@@ -339,7 +339,7 @@ local function compile (p, defs) | |||
339 | tinsert(errors, err[1]) | 339 | tinsert(errors, err[1]) |
340 | else | 340 | else |
341 | local line, col = lineno(p, err[2]) | 341 | local line, col = lineno(p, err[2]) |
342 | tinsert(errors, "Line" .. line .. ", Col " .. col .. ": " .. errmsgs[err[1]]) | 342 | tinsert(errors, "L" .. line .. ":C" .. col .. ": " .. errmsgs[err[1]]) |
343 | tinsert(errors, lines[line]) | 343 | tinsert(errors, lines[line]) |
344 | tinsert(errors, rep(" ", col-1) .. "^") | 344 | tinsert(errors, rep(" ", col-1) .. "^") |
345 | end | 345 | end |