summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-04 08:45:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-04 08:45:00 -0700
commitbfd0947112a317542d77959f0ae224f8e256f9a6 (patch)
tree344af6e6e4270da06ae56e8bf985c684a74ee1b3 /ChangeLog
parent0abbda4a698bc0f3eb531c6578469c3dff65ad57 (diff)
downloadtxr-bfd0947112a317542d77959f0ae224f8e256f9a6.tar.gz
txr-bfd0947112a317542d77959f0ae224f8e256f9a6.tar.bz2
txr-bfd0947112a317542d77959f0ae224f8e256f9a6.zip
* eval.c (func_get_name): New function.
(bind_args): Include the entire context form in argument mismatch errors. (apply): Include the function name, or else source code if it has no name, in argument mismatch erors. (eval_init): Register func-get-name intrinsic. * eval.h (func_get_name): Declared. * txr.1: Documented func-get-name.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a04152ec..3af841ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2015-08-04 Kaz Kylheku <kaz@kylheku.com>
+ * eval.c (func_get_name): New function.
+ (bind_args): Include the entire context form in argument
+ mismatch errors.
+ (apply): Include the function name, or else source code
+ if it has no name, in argument mismatch erors.
+ (eval_init): Register func-get-name intrinsic.
+
+ * eval.h (func_get_name): Declared.
+
+ * txr.1: Documented func-get-name.
+
+2015-08-04 Kaz Kylheku <kaz@kylheku.com>
+
* eval.c (force): Default the new second argument of source_loc_str.
(eval_error): Derive location of error from
the last_form_evaled, if form doesn't have it.