diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-02-22 15:19:46 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-02-22 15:19:46 -0800 |
commit | 1dabce1358de135b82bf0831f045352b3ff9ab1c (patch) | |
tree | 0400704259197cb7fc7ac901d347234cff860458 /lib.c | |
parent | 452cd7ca4ff07009402d618a02d439bdbbfa71a4 (diff) | |
download | txr-1dabce1358de135b82bf0831f045352b3ff9ab1c.tar.gz txr-1dabce1358de135b82bf0831f045352b3ff9ab1c.tar.bz2 txr-1dabce1358de135b82bf0831f045352b3ff9ab1c.zip |
* eval.c (eval_intrinsic): We don't need to make an environment
here if the env parameter is nil. The low level environment
lookup functions already handle nil.
(do_eval): Do not type check the env argument for the ENV type.
(expand_forms, expand): No need to default a missing menv to a
blank environment; just use nil.
(macro_form_p): Take menv parameter and switch to lookup_mac
from gethash.
(macroexpand_1, macroexpand): Use the environment parameter
by using lookup_mac rather than gethash.
(eval_init): Fix registration of macro_form_p to reflect new
optional argument.
* txr.1: Documented optional environment parameters in macro-form-p,
macroexpand-1 and macroexpand.
Documented macrolet.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions