Skip to content
Snippets Groups Projects
Commit a83d3d84 authored by wlott's avatar wlott
Browse files

Fixed eval of alien variables. We just hand it off to the real

interpreter.
parent c638d7bd
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.14 1992/02/25 03:41:42 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.15 1992/03/26 16:40:54 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -110,9 +110,13 @@ ...@@ -110,9 +110,13 @@
(let ((exp (macroexpand original-exp))) (let ((exp (macroexpand original-exp)))
(typecase exp (typecase exp
(symbol (symbol
(if (eq (info variable kind exp) :constant) (ecase (info variable kind exp)
(values (info variable constant-value exp)) (:constant
(symbol-value exp))) (values (info variable constant-value exp)))
((:special :global)
(symbol-value exp))
(:alien
(eval:internal-eval original-exp))))
(list (list
(let ((name (first exp)) (let ((name (first exp))
(args (1- (length exp)))) (args (1- (length exp))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment