diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-04 08:45:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-04 08:45:00 -0700 |
commit | bfd0947112a317542d77959f0ae224f8e256f9a6 (patch) | |
tree | 344af6e6e4270da06ae56e8bf985c684a74ee1b3 /ChangeLog | |
parent | 0abbda4a698bc0f3eb531c6578469c3dff65ad57 (diff) | |
download | txr-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-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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. |