diff options
author | Steve Bennett <steveb@workware.net.au> | 2014-12-06 11:32:15 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2014-12-09 13:07:55 +1000 |
commit | 63246ecaa29ff252387c6fb3f9d2554cacaf2d6c (patch) | |
tree | 908104025bd0ec2272627fde000f9a3d8c7b28b0 /stdlib.tcl | |
parent | b807e3c1640870464ced1859c29d200188df12ab (diff) | |
download | jimtcl-63246ecaa29ff252387c6fb3f9d2554cacaf2d6c.zip jimtcl-63246ecaa29ff252387c6fb3f9d2554cacaf2d6c.tar.gz jimtcl-63246ecaa29ff252387c6fb3f9d2554cacaf2d6c.tar.bz2 |
jim: change the output of errorInfo
Rather than "Runtime Error: <file>:<line>: ...", use
use "<file>:<line>: Error: ..."
This latter format is both shorter and more consistent with other tools (e.g. gcc).
This also allows errors to be reported with the default errorfmt of vim's quickfix feature.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'stdlib.tcl')
-rw-r--r-- | stdlib.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ proc errorInfo {msg {stacktrace ""}} { } lassign $stacktrace p f l if {$f ne ""} { - set result "Runtime Error: $f:$l: " + set result "$f:$l: Error: " } append result "$msg\n" append result [stackdump $stacktrace] |