aboutsummaryrefslogtreecommitdiff
path: root/jim-signal.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2024-03-13 15:32:15 +1000
committerSteve Bennett <steveb@workware.net.au>2024-03-13 15:33:43 +1000
commit263c28170a916b24a1442687580299e332b732af (patch)
tree720fe12003308e69fda0c0e378ce42a6d2290576 /jim-signal.c
parentef5402943619c843981fb5f36abfb828fd3fe981 (diff)
downloadjimtcl-263c28170a916b24a1442687580299e332b732af.zip
jimtcl-263c28170a916b24a1442687580299e332b732af.tar.gz
jimtcl-263c28170a916b24a1442687580299e332b732af.tar.bz2
generate source info for error messages at top level
Now that we rely on eval frames to unwind the stack on error, if an error occurs at the top level it would previously not provide a stack trace. e.g. $ jimsh t.tcl unmatched "[" After this change, the error location is now correctly reported: $ ./jimsh t.tcl t.tcl:8: Error: unmatched "[" Traceback (most recent call last): File "t.tcl", line 8 Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-signal.c')
0 files changed, 0 insertions, 0 deletions