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 | 44a98cac667e57d5d9d05cb0a2c189dea03ebabe (patch) | |
tree | 3ac14e73699b502c03a91674ddf9033801f36e77 | |
parent | c27e986b91fe7db72ae87f731be84fec0e9fab53 (diff) | |
download | txr-44a98cac667e57d5d9d05cb0a2c189dea03ebabe.tar.gz txr-44a98cac667e57d5d9d05cb0a2c189dea03ebabe.tar.bz2 txr-44a98cac667e57d5d9d05cb0a2c189dea03ebabe.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.
-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[] = { |