diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-01-08 19:59:09 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-01-08 19:59:09 -0800 |
commit | 58cf667aa73134c7945b0be77ed92f1c8fbc5be9 (patch) | |
tree | 3316bfb5fecf5dd4606a4427ef21b6f7fdd5988e /itypes.h | |
parent | fe633f383c53bbc080118f40dfb9443279d164f4 (diff) | |
download | txr-58cf667aa73134c7945b0be77ed92f1c8fbc5be9.tar.gz txr-58cf667aa73134c7945b0be77ed92f1c8fbc5be9.tar.bz2 txr-58cf667aa73134c7945b0be77ed92f1c8fbc5be9.zip |
lop: don't insert args when metas present.
The lop macro is inconsistent from op in that it
inserts the trailing function arguments on the
left even if arguments are explicitly given in the
form via @1, @2, ... or @rest. This change makes
lop is equivalent to op in all situations when these
metas are given.
* stdlib/op.tl (compat-225, compat-298): New top-level
variables.
(op-expand): local variable compat replaced by references to
compat-225. If compat-298 is *not* in effect, then metas
are checked for first in the cond, preventing the lop
transformation from taking place.
* tests/012/op.tl: Test cases for lop, combinations of
do with lop and a few for op also.
* txr.1: Redocumented, added compat notes.
Diffstat (limited to 'itypes.h')
0 files changed, 0 insertions, 0 deletions