From 2496d222fb0a451372989e846a1db0ec4e6e6fa6 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 1 Dec 2011 13:40:53 -0800 Subject: 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. --- ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index df9fd73e..84b220cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2011-12-01 Kaz Kylheku + + 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. + 2011-12-01 Kaz Kylheku * match.c (eval_form): Function renamed to txeval so its is -- cgit v1.2.3