diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-09-27 07:47:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-09-27 07:47:38 -0700 |
commit | 38868195bfc5df39c11e85df4e1550c197f32009 (patch) | |
tree | 55bbbb0810cb987a06148f738f5794f8c24a04ce /HACKING | |
parent | ee631bf97c1f1ef76696e803f57dcfd36d6064b9 (diff) | |
download | txr-38868195bfc5df39c11e85df4e1550c197f32009.tar.gz txr-38868195bfc5df39c11e85df4e1550c197f32009.tar.bz2 txr-38868195bfc5df39c11e85df4e1550c197f32009.zip |
stdlib: fix incorrect uses of compile-error.
Oops! We have many instances of compile-error being called
in the old way with a format string as its first agument,
instead of a context argument.
* share/txr/stdlib/ifa.tl (ifa): Take :form argument, pass to
compile-error. Let's call this "fix M".
(sys:if-to-cond): Add form parameter, pass to compile-error.
Let's call this let's call this "fix F".
(conda, condlet): Fix M.
* share/txr/stdlib/place.tl (sys:*pl-form*): New special
variable. We need this in order to communicate the real place
form to the place expander, similarly to how we communicate
the original environment using sys:*pl-env*.
(call-update-expander, call-clobber-expander,
call-delete-expander): Bind sys:*pl-form* to the unexpanded
place.
(shift, lset): Fix M.
(defplace fun): Arrange for value of sys:*pl-form* to be
passed to compile-error. Let's call this "Fix P".
(sys:get-mb): Fix F.
(defplace symbol-macro): Fix P.
(placelet*, placelet): Fix M.
* share/txr/stdlib/txr-case.tl (txr-case-impl): Fix M.
* share/txr/stdlib/with-resources.tl (with-resources): Fix M.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions