diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-02-17 20:30:25 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-02-17 20:30:25 -0800 |
commit | 6aa2f6cd533af6663f8572c51ee00359cdaa7ddd (patch) | |
tree | 3ac14e73699b502c03a91674ddf9033801f36e77 /lisplib.c | |
parent | 5a983f29aa6e70e4628c3827b5b209b88d21d345 (diff) | |
download | txr-6aa2f6cd533af6663f8572c51ee00359cdaa7ddd.tar.gz txr-6aa2f6cd533af6663f8572c51ee00359cdaa7ddd.tar.bz2 txr-6aa2f6cd533af6663f8572c51ee00359cdaa7ddd.zip |
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.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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[] = { |