summaryrefslogtreecommitdiffstats
path: root/unwind.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-07 07:01:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-07 07:01:16 -0700
commit06e281f7ce356dfcd225d4b4c4e9f6d06a880ef2 (patch)
tree8c036d2cbf11d749c2868c7078273d3fef60169d /unwind.h
parent3dba6ca7c542fefb2124340f948a0b10eea94b91 (diff)
downloadtxr-06e281f7ce356dfcd225d4b4c4e9f6d06a880ef2.tar.gz
txr-06e281f7ce356dfcd225d4b4c4e9f6d06a880ef2.tar.bz2
txr-06e281f7ce356dfcd225d4b4c4e9f6d06a880ef2.zip
exceptions: improve non-error @(throw) and @(assert).
When @(throw) generates a non-error exception that is unhandled, we just want it to continue. In the same situation, an @(assert) should behave as a failed match; that is, the failure of the query material that follows the assert, which activated it, should propagate through the assert. * match.c (v_throw): Return next_spec_k if uw_rthrow returns. (v_assert, h_assert): Return nil if uw_rthrow returns. * txr.1: Expanded @(throw) and @(assert) documentation with discussion of unhandled exceptions.
Diffstat (limited to 'unwind.h')
0 files changed, 0 insertions, 0 deletions