From 378546295be6b3a72ee3792d9175501bc77c016d Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 13 Oct 2022 20:23:35 -0700 Subject: New function: macroexpand-struct-clause. * stdlib/struct.tl (macroexpand-struct-clause): New function. * autoload.c (struct_set_entries): Autoload struct module on macroexpand-struct-clause. * txr.1: Documented. * stdlib/doc-syms.tl: Updated. --- autoload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload.c') diff --git a/autoload.c b/autoload.c index e266ed43..7a6cd79d 100644 --- a/autoload.c +++ b/autoload.c @@ -220,7 +220,7 @@ static val struct_set_entries(val fun) lit("defstruct"), lit("qref"), lit("uref"), lit("new"), lit("lnew"), lit("new*"), lit("lnew*"), lit("meth"), lit("umeth"), lit("usl"), lit("defmeth"), lit("rslot"), - lit("define-struct-clause"), nil + lit("define-struct-clause"), lit("macroexpand-struct-clause"), nil }; val vname[] = { lit("*struct-clause-expander*"), nil -- cgit v1.2.3