From 63246ecaa29ff252387c6fb3f9d2554cacaf2d6c Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sat, 6 Dec 2014 11:32:15 +1000 Subject: jim: change the output of errorInfo Rather than "Runtime Error: :: ...", use use ":: 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 --- stdlib.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib.tcl') diff --git a/stdlib.tcl b/stdlib.tcl index 3a2bbd8..08cb217 100644 --- a/stdlib.tcl +++ b/stdlib.tcl @@ -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] -- cgit v1.1