mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-06 09:20:40 -08:00
LOAD must save the value of *READTABLE*
This commit is contained in:
parent
9eb3a5b814
commit
6c445495ae
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue