summaryrefslogtreecommitdiffstats
path: root/tests/011
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-02 20:41:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-11-02 20:41:28 -0700
commit167ae958a8a4376703ade38a8f9c56763e3626f3 (patch)
tree02dc2e12ff4dbdc6a986c8e1688f838443713754 /tests/011
parentafb21018f168e886552f460834ba393c083f80ee (diff)
downloadtxr-167ae958a8a4376703ade38a8f9c56763e3626f3.tar.gz
txr-167ae958a8a4376703ade38a8f9c56763e3626f3.tar.bz2
txr-167ae958a8a4376703ade38a8f9c56763e3626f3.zip
The code expander becomes a public API.
The functions sys:expand, sys:expand* and sys:expand-with-free-refs are now in the usr package and documented for public use. * eval.c (eval_init): Move registrations of the symbools expand, expand* and expand-with-free-refs from the system package to the user package. * share/txr/stdlib/awk.tl (sys:awk-mac-let, awk): Uses of sys:expand drop the sys: prefix. * share/txr/stdlib/op.tl (sys:op-alpha-rename): Likewise. * share/txr/stdlib/place.tl (call-upudate-expander, call-clobber-expander, call-delete-expander, sys:placelet-1): Likewise. * tests/011/macros-2.txr, tests/012/struct.tl: Likewise. * txr.1: Documented expand, expand* and expand-with-free-refs.
Diffstat (limited to 'tests/011')
-rw-r--r--tests/011/macros-2.txr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/011/macros-2.txr b/tests/011/macros-2.txr
index a6693c6b..0d7cc607 100644
--- a/tests/011/macros-2.txr
+++ b/tests/011/macros-2.txr
@@ -22,7 +22,7 @@
(prinl
(ignwarn
- (sys:expand
+ (expand
'(whilst ((< i 100))
(if (< (inc i) 20)
continue)