X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcold-init.lisp;h=57c5c12d64e3495dc32fe1a776f7507d8876dd0b;hb=07ab1e4811ab16f95a9a5e8d767426a0787f22c0;hp=ef011a2cb3ab855c645bd3a1a8fd1f4da1974f5a;hpb=451d6e4af62dc8bbad57219c403d4395db84a4d6;p=sbcl.git diff --git a/src/code/cold-init.lisp b/src/code/cold-init.lisp index ef011a2..57c5c12 100644 --- a/src/code/cold-init.lisp +++ b/src/code/cold-init.lisp @@ -141,6 +141,7 @@ ;; forms run. (show-and-call !type-class-cold-init) (show-and-call !typedefs-cold-init) + (show-and-call !world-lock-cold-init) (show-and-call !classes-cold-init) (show-and-call !early-type-cold-init) (show-and-call !late-type-cold-init) @@ -240,10 +241,14 @@ ;; The reader and printer are initialized very late, so that they ;; can do hairy things like invoking the compiler as part of their ;; initialization. - (show-and-call !reader-cold-init) - (let ((*readtable* *standard-readtable*)) + (let ((*readtable* (make-readtable))) + (show-and-call !reader-cold-init) (show-and-call !sharpm-cold-init) - (show-and-call !backq-cold-init)) + (show-and-call !backq-cold-init) + ;; The *STANDARD-READTABLE* is assigned at last because the above + ;; functions would operate on the standard readtable otherwise--- + ;; which would result in an error. + (setf *standard-readtable* *readtable*)) (setf *readtable* (copy-readtable *standard-readtable*)) (setf sb!debug:*debug-readtable* (copy-readtable *standard-readtable*)) (sb!pretty:!pprint-cold-init)