author | Kim Alvefur <zash@zash.se> |
Sat, 08 Apr 2023 12:54:26 +0200 | |
changeset 13068 | b172db27ffed |
parent 13067 | 414952def2d3 |
child 13069 | ab546c5977ed |
tools/tb2err | file | annotate | diff | comparison | revisions |
--- a/tools/tb2err Sat Apr 08 12:53:19 2023 +0200 +++ b/tools/tb2err Sat Apr 08 12:54:26 2023 +0200 @@ -1,5 +1,7 @@ #!/usr/bin/env lua -- traceback to errors.err for vim -q +-- e.g. curl https://prosody.im/paste/xxx | tb2err > errors.err && vim -q + local path_sep = package.config:sub(1,1); for line in io.lines() do local src, err = line:match("%s*(%S+)(:%d+: .*)")