diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-29 06:58:15 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-29 06:58:15 -0800 |
commit | ff17df5e47559aa87ffd828c6126a63165805ad2 (patch) | |
tree | 3a0aa3cf65ed8ff39356fd1a8a5eaf78d7dbfefb /mpi-patches/use-txr-allocator | |
parent | b8966f0bf73f01e1e380a08e6949ccc9ddd45637 (diff) | |
download | txr-ff17df5e47559aa87ffd828c6126a63165805ad2.tar.gz txr-ff17df5e47559aa87ffd828c6126a63165805ad2.tar.bz2 txr-ff17df5e47559aa87ffd828c6126a63165805ad2.zip |
Default argument initializer scoping rule change, allowing
things like (defun foo (s : (l (length s))) ...).
Default arguments can be initialized by expressions that
refer to the arguments.
* eval.c (bind_args): By means of a local array, defer the evaluation
of optional argument init forms until the lexical environment,
including all the parameters, is captured. Then valuates the forms
in the array, and set the variable values.
* txr.1: Clarify the new scoping rules.
Diffstat (limited to 'mpi-patches/use-txr-allocator')
0 files changed, 0 insertions, 0 deletions