- (style-warn "defining ~S as a constant, even though the name follows~@
-the usual naming convention (names like *FOO*) for special variables"
- 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)
(setf (info :source-location :constant name) source-location))
(let ((kind (info :variable :kind name)))
(sb!c:with-source-location (source-location)
(setf (info :source-location :constant name) source-location))
(let ((kind (info :variable :kind name)))
;; (This is OK -- undefined variables are of this kind. So we
;; don't warn or error or anything, just fall through.)
)
;; (This is OK -- undefined variables are of this kind. So we
;; don't warn or error or anything, just fall through.)
)