[movitz-cvs] CVS update: movitz/losp/muerte/eval.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Fri Apr 16 19:21:52 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv9718

Modified Files:
	eval.lisp 
Log Message:
We can use symbol-value to evaluate constant variables, I believe.

Date: Fri Apr 16 15:21:51 2004
Author: ffjeld

Index: movitz/losp/muerte/eval.lisp
diff -u movitz/losp/muerte/eval.lisp:1.6 movitz/losp/muerte/eval.lisp:1.7
--- movitz/losp/muerte/eval.lisp:1.6	Thu Apr 15 09:16:28 2004
+++ movitz/losp/muerte/eval.lisp	Fri Apr 16 15:21:51 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Fri Oct 19 21:15:12 2001
 ;;;;                
-;;;; $Id: eval.lisp,v 1.6 2004/04/15 13:16:28 ffjeld Exp $
+;;;; $Id: eval.lisp,v 1.7 2004/04/16 19:21:51 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -49,7 +49,7 @@
 (defun eval-symbol (form env)
   "3.1.2.1.1 Symbols as Forms"
   (if (symbol-constant-variable-p form)
-      (symbol-global-value form)
+      (symbol-value form)
     (let ((binding (env-binding env form)))
       (or (and binding (cdr binding))
 	  (symbol-value form)))))





More information about the Movitz-cvs mailing list