X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fearly-c.lisp;h=e04ad0344b6894e0690cd5ffb874bdb45499bea3;hb=ee8c58af0f59d9e5b4307efcbf944f88b850343b;hp=9df9131d8a7bd74f062df6ca7cf03ad3d1dda9b7;hpb=87cd7d9848d9beddbf74e9d56a0c0aea6e189ead;p=sbcl.git diff --git a/src/compiler/early-c.lisp b/src/compiler/early-c.lisp index 9df9131..e04ad03 100644 --- a/src/compiler/early-c.lisp +++ b/src/compiler/early-c.lisp @@ -29,20 +29,6 @@ #!+sb-doc "The exclusive upper bound on the number of multiple VALUES that you can return.") - -(defconstant-eqx sb!xc:lambda-list-keywords - '(&allow-other-keys - &aux - &body - &environment - &key - &more - &optional - &rest - &whole) - #'equal - #!+sb-doc - "symbols which are magical in a lambda list") ;;;; cross-compiler-only versions of CL special variables, so that we ;;;; don't have weird interactions with the host compiler @@ -123,6 +109,7 @@ (defvar *trace-table*) (defvar *undefined-warnings*) (defvar *warnings-p*) +(defvar *lambda-conversions*) ;;; This lock is seized in the compiler, and related areas: the ;;; compiler is not presently thread-safe @@ -177,9 +164,11 @@ ;; and then we happen to compile bar.lisp before foo.lisp. (when (looks-like-name-of-special-var-p symbol) ;; FIXME: should be COMPILER-STYLE-WARNING? - (style-warn "using the lexical binding of the symbol ~S, not the~@ -dynamic binding, even though the symbol name follows the usual naming~@ -convention (names like *FOO*) for special variables" symbol)) + (style-warn 'sb!kernel:asterisks-around-lexical-variable-name + :format-control + "using the lexical binding of the symbol ~S, not the~@ + dynamic binding" + :format-arguments (list symbol))) (values)) (def!struct (debug-name-marker (:make-load-form-fun dump-debug-name-marker) @@ -219,8 +208,6 @@ convention (names like *FOO*) for special variables" symbol)) *debug-name-ellipsis* (make-debug-name-marker)) (defun debug-name (type thing) - ;; We can _always_ do better thing NIL for this. - (aver thing) (let ((*debug-name-punt* nil)) (labels ((walk (x) (typecase x