diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2015-01-28 Kaz Kylheku <kaz@kylheku.com> + + * eval.c (bind_macro_params): Bugfix: the colon argument's special + meaning "treat the argument as missing" must apply only to optional + parameters. + 2015-01-27 Kaz Kylheku <kaz@kylheku.com> * lib.c (make_like): Fix regression introduced in 102. @@ -791,7 +791,7 @@ static val bind_macro_params(val env, val menv, val params, val form, } if (consp(form)) { - if (car(form) == colon_k) { + if (optargs && car(form) == colon_k) { form = cdr(form); goto noarg; } |