summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-25 06:29:43 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-25 06:29:43 -0800
commitfd7e0a944b77d1cbba91e323cd0679bf0d00652b (patch)
tree1d1c3beea176c987eb8b2a6bbd0dbb6d1f545905 /lisplib.c
parent49133d53e863ddfeeffcb46c7c20575f8c7910c5 (diff)
downloadtxr-fd7e0a944b77d1cbba91e323cd0679bf0d00652b.tar.gz
txr-fd7e0a944b77d1cbba91e323cd0679bf0d00652b.tar.bz2
txr-fd7e0a944b77d1cbba91e323cd0679bf0d00652b.zip
New macro define-accessor.
* lisplib.c (place_set_entries): New entry to trigger autoloading for define-accessor. * share/txr/stdlib/place.tl (sys:register-simple-accessor): New function. (define-accessor): New macro. * txr.1: Documented define-accessor.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisplib.c b/lisplib.c
index b33018da..065436bf 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -71,7 +71,7 @@ static val place_set_entries(val dlt, val fun)
lit("push"), lit("pop"), lit("swap"), lit("shift"), lit("rotate"),
lit("pushnew"), lit("del"),
lit("defplace"), lit("define-place-macro"), lit("define-modify-macro"),
- lit("placelet"), lit("placelet*"),
+ lit("placelet"), lit("placelet*"), lit("define-acessor"),
nil
};