diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-09-24 21:25:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-09-24 21:25:19 -0700 |
commit | c1a58a1f8903be21f8c52b70d1ed9e115e7c8d8b (patch) | |
tree | 0973c9c4b27b28bff03dd1f4fc75bb3db5aa9ad1 | |
parent | be8c893f57c2816cd00234286f2f17fa15924e6e (diff) | |
download | txr-c1a58a1f8903be21f8c52b70d1ed9e115e7c8d8b.tar.gz txr-c1a58a1f8903be21f8c52b70d1ed9e115e7c8d8b.tar.bz2 txr-c1a58a1f8903be21f8c52b70d1ed9e115e7c8d8b.zip |
* eval.c (apply): Fix in error message: hard coded "apply" instead
of using ctx_form.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2012-09-24 Kaz Kylheku <kaz@kylheku.com> + * eval.c (apply): Fix in error message: hard coded "apply" instead + of using ctx_form. + +2012-09-24 Kaz Kylheku <kaz@kylheku.com> + Bugfix: internal funcall functions not handling functions with optional arguments. @@ -273,7 +273,7 @@ val apply(val fun, val arglist, val ctx_form) type_check (fun, FUN); type_assert (listp(arglist), - (lit("apply arglist ~s is not a list"), arglist, nao)); + (lit("~s: arglist ~s is not a list"), car(ctx_form), arglist, nao)); variadic = fun->f.variadic; fixparam = fun->f.fixparam; |