"UNINTERESTING-REDEFINITION"
"REDEFINITION-WITH-DEFTRANSFORM"
- "IGNORING-ASTERISKS-IN-VARIABLE-NAME"
- "IGNORING-ASTERISKS-IN-LEXICAL-VARIABLE-NAME"
- "IGNORING-ASTERISKS-IN-CONSTANT-VARIABLE-NAME"
- "UNDEFINED-ALIEN"
+ "DUBIOUS-ASTERISKS-AROUND-VARIABLE-NAME"
+ "ASTERISKS-AROUND-LEXICAL-VARIABLE-NAME"
+ "ASTERISKS-AROUND-CONSTANT-VARIABLE-NAME"
+ "UNDEFINED-ALIEN-STYLE-WARNING"
#!+sb-eval
"LEXICAL-ENVIRONMENT-TOO-COMPLEX"
"CHARACTER-DECODING-ERROR-IN-COMMENT"
(redefinition-with-deftransform-transform warning)))))
\f
;;; Various other STYLE-WARNINGS
-(define-condition ignoring-asterisks-in-variable-name
+(define-condition dubious-asterisks-around-variable-name
(style-warning simple-condition)
()
(:report (lambda (warning stream)
(simple-condition-format-control warning)
(simple-condition-format-arguments warning)))))
-(define-condition ignoring-asterisks-in-lexical-variable-name
- (ignoring-asterisks-in-variable-name)
+(define-condition asterisks-around-lexical-variable-name
+ (dubious-asterisks-around-variable-name)
())
-(define-condition ignoring-asterisks-in-constant-variable-name
- (ignoring-asterisks-in-variable-name)
+(define-condition asterisks-around-constant-variable-name
+ (dubious-asterisks-around-variable-name)
())
-(define-condition undefined-alien (style-warning)
+;; We call this UNDEFINED-ALIEN-STYLE-WARNING because there are some
+;; subclasses of ERROR above having to do with undefined aliens.
+(define-condition undefined-alien-style-warning (style-warning)
((symbol :initarg :symbol :reader undefined-alien-symbol))
(:report (lambda (warning stream)
(format stream "Undefined alien: ~S"
(error 'undefined-alien-error :name symbol))
#!+linkage-table
((not addr)
- (style-warn 'sb!kernel:undefined-alien :symbol symbol)
+ (style-warn 'sb!kernel:undefined-alien-style-warning
+ :symbol symbol)
(setf (gethash symbol undefineds) t)
(remhash symbol symbols)
(if datap
(unless (symbolp name)
(error "The constant name is not a symbol: ~S" name))
(when (looks-like-name-of-special-var-p name)
- (style-warn 'sb!kernel:ignoring-asterisks-in-constant-variable-name
+ (style-warn 'sb!kernel:asterisks-around-constant-variable-name
:format-control "defining ~S as a constant"
:format-arguments (list name)))
(sb!c:with-source-location (source-location)
;; 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 'sb!kernel:ignoring-asterisks-in-lexical-variable-name
+ (style-warn 'sb!kernel:asterisks-around-lexical-variable-name
:format-control
"using the lexical binding of the symbol ~S, not the~@
dynamic binding"
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.18.16"
+"1.0.18.17"