projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.28.35: compiler notes for failure to stack allocate
[sbcl.git]
/
src
/
code
/
describe.lisp
diff --git
a/src/code/describe.lisp
b/src/code/describe.lisp
index
47a8af2
..
7da9cd7
100644
(file)
--- a/
src/code/describe.lisp
+++ b/
src/code/describe.lisp
@@
-312,7
+312,8
@@
(:special "special variable")
(:macro "symbol macro")
(:constant "constant")
(:special "special variable")
(:macro "symbol macro")
(:constant "constant")
- (:global "undefined variable")
+ (:global "global variable")
+ (:unknown "undefined variable")
(:alien nil))))
(pprint-logical-block (s nil)
(cond
(:alien nil))))
(pprint-logical-block (s nil)
(cond
@@
-330,7
+331,7
@@
((boundp x)
(format s "~&~@<It is a ~A; its ~_value is ~S.~:>"
wot (symbol-value x)))
((boundp x)
(format s "~&~@<It is a ~A; its ~_value is ~S.~:>"
wot (symbol-value x)))
- ((not (eq kind :global))
+ ((not (eq kind :unknown))
(format s "~&~@<It is a ~A; no current value.~:>" wot)))
(when (eq (info :variable :where-from x) :declared)
(format s "~&~@<It is a ~A; no current value.~:>" wot)))
(when (eq (info :variable :where-from x) :declared)
@@
-350,9
+351,13
@@
((fboundp x)
(describe-symbol-fdefinition (fdefinition x) s :name x)))
((fboundp x)
(describe-symbol-fdefinition (fdefinition x) s :name x)))
+ ;; Describe deftype lambda-list and doc
+ (when (info :type :expander x)
+ (format s "~&DEFTYPE lambda-list: ~A" (info :type :lambda-list x))
+ (%describe-doc x s 'type "Type"))
+
;; Print other documentation.
(%describe-doc x s 'structure "Structure")
;; Print other documentation.
(%describe-doc x s 'structure "Structure")
- (%describe-doc x s 'type "Type")
(%describe-doc x s 'setf "Setf macro")
(dolist (assoc (info :random-documentation :stuff x))
(let ((type (car assoc)))
(%describe-doc x s 'setf "Setf macro")
(dolist (assoc (info :random-documentation :stuff x))
(let ((type (car assoc)))