mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 15:40:55 -08:00
When printing variables, also show the kind.
This commit is contained in:
parent
3e51fa08ba
commit
11befebb7d
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@
|
|||
(format stream "#<a ~A: ~A>" (type-of ref-object) name)
|
||||
(format stream "#<a ~A>" (type-of ref-object)))))
|
||||
|
||||
(defun print-var (var-object stream)
|
||||
(format stream "#<a VAR: ~A KIND: ~A>" (var-name var-object) (var-kind var-object)))
|
||||
|
||||
(defun cmperr (string &rest args &aux (*print-case* :upcase))
|
||||
(print-current-form)
|
||||
(format t "~&;;; Error: ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue