X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-introspect%2Fintrospect.lisp;h=385d02d114cb8dbb2c9eba5a49cc0277250ed49d;hb=b27852e74e11ccc9808305a73d815a4a67d77963;hp=f4041fdb2ec00f001df675b53856d62e3fc12de1;hpb=315285fcf8bf1f7e732da307cfaf31f18f412811;p=sbcl.git diff --git a/contrib/sb-introspect/introspect.lisp b/contrib/sb-introspect/introspect.lisp index f4041fd..385d02d 100644 --- a/contrib/sb-introspect/introspect.lisp +++ b/contrib/sb-introspect/introspect.lisp @@ -195,7 +195,8 @@ If an unsupported TYPE is requested, the function will return NIL. (case type ((:variable) (when (and (symbolp name) - (eq (sb-int:info :variable :kind name) :special)) + (member (sb-int:info :variable :kind name) + '(:global :special))) (translate-source-location (sb-int:info :source-location type name)))) ((:constant) (when (and (symbolp name) @@ -802,7 +803,7 @@ allocation. For :HEAP objects the secondary value is a plist: :SPACE - Inficates the heap segment the object is allocated in. + Indicates the heap segment the object is allocated in. :GENERATION Is the current generation of the object: 0 for nursery, 6 for pseudo-static