X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fearly-c.lisp;h=e04ad0344b6894e0690cd5ffb874bdb45499bea3;hb=ee8c58af0f59d9e5b4307efcbf944f88b850343b;hp=3be5dcf68a812ec06ce810e16680b4d5b991b6df;hpb=45bc305be4e269d2e1a477c8e0ae9a64df1ccd1c;p=sbcl.git diff --git a/src/compiler/early-c.lisp b/src/compiler/early-c.lisp index 3be5dcf..e04ad03 100644 --- a/src/compiler/early-c.lisp +++ b/src/compiler/early-c.lisp @@ -164,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)