X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fdefconstant.lisp;h=0b6f423095ed7f13d1b39bf36b3e35f1ba5b5571;hb=04f74c8cbe98704aa761e187741984bc8fe3983f;hp=5f155ebd06642c9be36401a860d11084d8aacbb2;hpb=45bc305be4e269d2e1a477c8e0ae9a64df1ccd1c;p=sbcl.git diff --git a/src/compiler/defconstant.lisp b/src/compiler/defconstant.lisp index 5f155eb..0b6f423 100644 --- a/src/compiler/defconstant.lisp +++ b/src/compiler/defconstant.lisp @@ -99,6 +99,10 @@ the usual naming convention (names like *FOO*) for special variables" ;; doubt such warnings are ANSI-compliant, but I'm not sure, so I've ;; written this in a way that CMU CL will tolerate and which ought to ;; work elsewhere too.) -- WHN 2001-03-24 - (eval `(defconstant ,name ',value)))) + (eval `(defconstant ,name ',value))) + ;; It would certainly be awesome if this was only needed for symbols + ;; in CL. Unfortunately, that is not the case. Maybe some are moved + ;; back in CL later on? + (setf (info :variable :xc-constant-value name) value)) (setf (info :variable :kind name) :constant) name)