diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-01 13:40:53 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-01 13:40:53 -0800 |
commit | 2496d222fb0a451372989e846a1db0ec4e6e6fa6 (patch) | |
tree | 57595bd31741daaa247a653891358c87c6e00c4c /RELNOTES | |
parent | 0110b5497d10f7368ae7456f62d8471774123e26 (diff) | |
download | txr-2496d222fb0a451372989e846a1db0ec4e6e6fa6.tar.gz txr-2496d222fb0a451372989e846a1db0ec4e6e6fa6.tar.bz2 txr-2496d222fb0a451372989e846a1db0ec4e6e6fa6.zip |
Dropping the silly cons return value from txeval.
Two interfaces are provided to the function. One throws
on unbound variable, the other which evaluates them to the
symbol noval_s (used in exception handling).
* match.c (do_txeval): New static function.
(txeval): Functionality moved to do_txeval.
(txeval_allow_ub): New static function.
(vars_to_bindings, h_fun, v_freeform, v_next, v_merge, v_bind, v_set,
v_cat, v_output, v_deffilter, v_fun): No need to
use cdr to get the value from txeval.
(v_throw): Use txeval_ub_allowed, since unbound variables
are allowed in throw.
(v_try): Detect unbound arguments by checking for noval_s rather than
nil. No need to use cdr.
Diffstat (limited to 'RELNOTES')
0 files changed, 0 insertions, 0 deletions