In response to a question on #lisp IRC...
... make the style-warning for #S(FOO #\A 1) include a reference
to the relevant section in CLtS.
"TYPE-WARNING" "LOCAL-ARGUMENT-MISMATCH"
"FORMAT-ARGS-MISMATCH" "FORMAT-TOO-FEW-ARGS-WARNING"
"FORMAT-TOO-MANY-ARGS-WARNING" "EXTENSION-FAILURE"
+ "STRUCTURE-INITARG-NOT-KEYWORD"
"NAME-CONFLICT" "NAME-CONFLICT-FUNCTION"
"NAME-CONFLICT-DATUM" "NAME-CONFLICT-SYMBOLS"
(define-condition extension-failure (reference-condition simple-error)
())
+(define-condition structure-initarg-not-keyword
+ (reference-condition simple-style-warning)
+ ()
+ (:default-initargs :references (list '(:ansi-cl :section (2 4 8 13)))))
+
#!+sb-package-locks
(progn
designator: ~S."
slot-name))
(when (not (keywordp slot-name))
- (style-warn "in #S ~S, the use of non-keywords ~
- as slot specifiers is deprecated: ~S."
- (car body) slot-name)))
+ (warn 'structure-initarg-not-keyword
+ :format-control
+ "in #S ~S, the use of non-keywords ~
+ as slot specifiers is deprecated: ~S."
+ :format-arguments
+ (list (car body) slot-name))))
collect (intern (string (car tail)) *keyword-package*)
collect (cadr tail)))))))
\f
;;; 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".)
-"0.8.19.31"
+"0.8.19.32"