summaryrefslogtreecommitdiffstats
path: root/cadr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-04-04 23:12:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-04-04 23:12:43 -0700
commit93e858c46aff06962f123327127a3b2eb9600987 (patch)
tree428931213af8a4741281f5923f23e56f3aa8b0c4 /cadr.c
parent068c3e64c94f0fa8cfb3fa867e592a9413c06780 (diff)
downloadtxr-93e858c46aff06962f123327127a3b2eb9600987.tar.gz
txr-93e858c46aff06962f123327127a3b2eb9600987.tar.bz2
txr-93e858c46aff06962f123327127a3b2eb9600987.zip
autoload: don't refer to .tl files specifically.
We would like to load the compiled versions of the library files, if they exist, in preference to the source versions. So we want to issue loads without the .tl suffix; let the load function sort it out. * gencadr.c (cadr_register): Drop .tl suffix. * lisplib.c (place_instantiate, ver_instantiate, ifa_instantiate, txr_case_instantiate, with_resources_instantiate, path_test_instantiate, struct_instantiate, with_stream_instantiate, hash_instantiate, except_instantiate, type_instantiate, yield_instantiate, termios_instantiate, awk_instantiate, build_instantiate, trace_instantiate, getopts_instantiate, package_instantiate, getput_instantiate, tagbody_instantiate, pmac_instantiate, error_instantiate, keyparams_instantiate, ffi_instantiate, doloop_instantiate, stream_wrap_instantiate, asm_instantiate, compiler_instantiate, op_instantiate): Likewise. * cadr.c: Regenerated.
Diffstat (limited to 'cadr.c')
-rw-r--r--cadr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cadr.c b/cadr.c
index f9ea0aef..647b3637 100644
--- a/cadr.c
+++ b/cadr.c
@@ -404,7 +404,7 @@ static val cadr_register(val set_fun)
reg_fun(intern(lit("cdddadr"), user_package), func_n1(cdddadr));
reg_fun(intern(lit("cddddar"), user_package), func_n1(cddddar));
reg_fun(intern(lit("cdddddr"), user_package), func_n1(cdddddr));
- load(format(nil, lit("~acadr.tl"), stdlib_path, nao));
+ load(format(nil, lit("~acadr"), stdlib_path, nao));
return nil;
}