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

Fixed a bug I introduced into top level evaluations of setq that caused it

to always return NIL.
parent b33a8829
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.13 1992/02/24 01:21:55 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.14 1992/02/25 03:41:42 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -137,7 +137,10 @@ ...@@ -137,7 +137,10 @@
(do ((name (cdr exp) (cddr name))) (do ((name (cdr exp) (cddr name)))
((null name) ((null name)
(do ((args (cdr exp) (cddr args))) (do ((args (cdr exp) (cddr args)))
((null args)) ((null (cddr args))
;; We duplicate the call to SET so that the correct
;; value gets returned.
(set (first args) (eval (second args))))
(set (first args) (eval (second args))))) (set (first args) (eval (second args)))))
(let ((symbol (first name))) (let ((symbol (first name)))
(case (info variable kind symbol) (case (info variable kind symbol)
......
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