diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-06-27 07:23:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-06-27 07:23:08 -0700 |
commit | 0367ad753c7749c33f57e1e0805e0dbcea115af3 (patch) | |
tree | ea27bc337fa8de6eacd48e9084ac0eee1aa23ae6 /lib.h | |
parent | ea452c6fdc1b9d900ffe65b1cdeb0b098a4c20f6 (diff) | |
download | txr-0367ad753c7749c33f57e1e0805e0dbcea115af3.tar.gz txr-0367ad753c7749c33f57e1e0805e0dbcea115af3.tar.bz2 txr-0367ad753c7749c33f57e1e0805e0dbcea115af3.zip |
Bugfix: apply_intrinsic and iapply must not destructively
manipulate argument lists.
* eval.c (apply_frob_args): Rewrite to non-destructive
one-pass version.
(iapply): Likewise.
* lib.c (term): New function.
* lib.h (term): Declared.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -418,6 +418,7 @@ val lazy_conses(val list); val listref(val list, val ind); loc listref_l(val list, val ind); loc tail(val cons); +loc term(loc head); loc lastcons(val list); val last(val list); loc ltail(loc cons); |