LOAD must save the value of *READTABLE*

This commit is contained in:
jjgarcia 2004-11-22 14:31:37 +00:00
parent 9eb3a5b814
commit 6c445495ae

View file

@ -349,13 +349,14 @@ NOT_A_FILENAME:
filename);
}
bds_bind(@'*package*', symbol_value(@'*package*'));
bds_bind(@'*readtable*', symbol_value(@'*readtable*'));
bds_bind(@'*load-pathname*', filename);
bds_bind(@'*load-truename*', cl_truename(filename));
if (Null(function))
ok = si_load_source(filename, verbose, print);
else
ok = funcall(4, function, filename, verbose, print);
bds_unwind_n(3);
bds_unwind_n(4);
if (!Null(ok))
FEerror("LOAD: Could not load file ~S (Error: ~S)",
2, filename, ok);