summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-19 08:15:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-19 08:15:02 -0700
commitf6d7a2ebaad679ff8db23b3e9aa6f5a724259f1b (patch)
treec6547d4fcdc797a3318a25aa3684b9b60b76d460 /txr.1
parentdfd8eb5a2c6209cfde54d16949e1f0fc570a791a (diff)
downloadtxr-f6d7a2ebaad679ff8db23b3e9aa6f5a724259f1b.tar.gz
txr-f6d7a2ebaad679ff8db23b3e9aa6f5a724259f1b.tar.bz2
txr-f6d7a2ebaad679ff8db23b3e9aa6f5a724259f1b.zip
Improvement in error reporting.
This fix prevents certain situations when an inappropriate form is reported, in the default unhandled exception handler, as pertaining to an error. * eval.c (do_eval): Save and restore the last_form_evaled, in an exception-unsafe way. If we successfully evaluate a form or subform, we can restore the previous one. (expand): Save and restore last_form_expanded similarly. We don't need the unwind block and counter.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions