From 6aa2f6cd533af6663f8572c51ee00359cdaa7ddd Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 17 Feb 2022 20:30:25 -0800 Subject: compiler: autoload on sys:*in-compilation-unit*. The compiler module contains the with-compilation-unit macro; if that macro is used, it is auto-loaded. However, when a file that uses with-compilation-unit is compiled, the macro is gone; its expansion refers to the sys:*in-compilation-unit* which is defined in the compiler module also. However, there is no autoload set up for it. * lisplib.c (compiler_set_entries): Add sys:*in-compilation-unit* to the list of symbols that trigger autoloading. --- lisplib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisplib.c b/lisplib.c index 2edee144..a8d264d2 100644 --- a/lisplib.c +++ b/lisplib.c @@ -729,7 +729,7 @@ static val compiler_instantiate(val set_fun) static val compiler_set_entries(val dlt, val fun) { val sys_name[] = { - lit("compiler"), + lit("compiler"), lit("*in-compilation-unit*"), nil }; val name[] = { -- cgit v1.2.3