diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-02-15 04:32:23 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-02-15 04:32:23 -0800 |
commit | 5e89795f66750094ccac9d13a1f2001dde3d1226 (patch) | |
tree | 69c722acb99a11502ba56a03f99824335f43b034 /ChangeLog | |
parent | f90caa20a5a1928cc3be9bf304e3f8760b6ea8ba (diff) | |
download | txr-5e89795f66750094ccac9d13a1f2001dde3d1226.tar.gz txr-5e89795f66750094ccac9d13a1f2001dde3d1226.tar.bz2 txr-5e89795f66750094ccac9d13a1f2001dde3d1226.zip |
Bugfix: parameters of defun were not being treated by expander.
They need to be since they can contain evaluable initforms for default
arguments. Ditto with lambda; lambda parameters were being treated
using expand_vars, which is not appropriate.
* eval.c (expand_opt_params, expand_params): New static functions.
(expand_vars): Bugfix: added some missing rlcp's to propagate
line number info.
(expand): Move lambda to separate case, and expand its params
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,17 @@ 2014-02-15 Kaz Kylheku <kaz@kylheku.com> + Bugfix: parameters of defun were not being treated by expander. + They need to be since they can contain evaluable initforms for default + arguments. Ditto with lambda; lambda parameters were being treated + using expand_vars, which is not appropriate. + + * eval.c (expand_opt_params, expand_params): New static functions. + (expand_vars): Bugfix: added some missing rlcp's to propagate + line number info. + (expand): Move lambda to separate case, and expand its params + +2014-02-15 Kaz Kylheku <kaz@kylheku.com> + * eval.c (bind_args, op_modplace): Use ~s consistently in error messages. |