support for deprecating special variables
[sbcl.git] / src / compiler / ir1tran.lisp
index 5a448fd..8bb36fb 100644 (file)
                ;; processing our own code, though.
                #+sb-xc-host
                (warn "reading an ignored variable: ~S" name)))
+           (when (global-var-p var)
+             (check-deprecated-variable name))
            (reference-leaf start next result var name))
           (cons
            (aver (eq (car var) 'macro))