From 0aaa9f3ffbd6f04163f4cb18a00d94d45adcb865 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Tue, 3 Sep 1991 21:50:18 +0000 Subject: [PATCH] Fixed VALUES declaration to work correctly when zero values are specified. --- compiler/ir1tran.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/ir1tran.lisp b/compiler/ir1tran.lisp index ca2e2c3e7..8094fc1db 100644 --- a/compiler/ir1tran.lisp +++ b/compiler/ir1tran.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.50 1991/08/23 16:28:47 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.51 1991/09/03 21:50:18 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -908,7 +908,7 @@ (if *suppress-values-declaration* res (let ((types (cdr spec))) - (do-the-stuff (if (null (cdr types)) + (do-the-stuff (if (eql (length types) 1) (car types) `(values ,@types)) cont res 'values)))) -- GitLab