diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-03 20:01:54 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-03 20:01:54 -0700 |
commit | b83615f69af7f971d440b0d02db85f24afe9e39c (patch) | |
tree | 35567d3a232f6fda66ff699991554088fb0590b1 /txr.1 | |
parent | 8660816e37a7a169ec41d50d9067b3889c9a6186 (diff) | |
download | txr-b83615f69af7f971d440b0d02db85f24afe9e39c.tar.gz txr-b83615f69af7f971d440b0d02db85f24afe9e39c.tar.bz2 txr-b83615f69af7f971d440b0d02db85f24afe9e39c.zip |
symbol-function: don't break existing compiled code.
When a symbol-function form is used as a syntactic place,
the generated code makes a run-time call to
sys:get-fun-getter-setter. A recent commit changed the
interface of this function, which means that such code
which has been previously comipled (or somehow retained
in macro-expanded form) will break.
* share/txr/stdlib/place.tl (sys:get-fun-setter-getter):
Change the interface so it's backward compatible with the old
one: the first argument is the symbol, like before, and
thanks to optional arguments, it can be called with just that
argument.
(defplace symbol-function): Generate code to call
sys:get-fun-setter-getter accordingly.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions