Changeset 516


Ignore:
Timestamp:
Feb 10, 2004, 11:06:59 AM (21 years ago)
Author:
Gary Byers
Message:

VARIABLE-INFORMATION returns :SPECIAL if visible binding is proclaimed (but not declared) SPECIAL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/nx-basic.lisp

    r293 r516  
    208208                              (eq :symbol-macro (car (var-ea v))))
    209209                       (setq vartype :symbol-macro)
    210                        (unless vartype (setq vartype :lexical)))
     210                       (unless vartype (setq vartype
     211                                             (let* ((bits (var-bits v)))
     212                                               (if (and (typep bits 'integer)
     213                                                        (logbitp $vbitspecial bits))
     214                                                 :special
     215                                                 :lexical)))))
    211216                     (return)))
    212217                 (when vartype (return))))))
Note: See TracChangeset for help on using the changeset viewer.