From 6917faba4b88c76a39297a636bb0a0c1cac88cd0 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Sun, 20 Oct 1991 14:36:34 +0000
Subject: [PATCH] Fixed TAGBODY not to consider NIL to be a tag.

---
 compiler/ir1tran.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/ir1tran.lisp b/compiler/ir1tran.lisp
index 6306c9719..0efa59205 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.53 1991/10/02 13:07:38 chiles Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.54 1991/10/20 14:36:34 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -2030,7 +2030,7 @@
   (collect ((segments))
     (let ((current (cons nil body)))
       (loop
-	(let ((tag-pos (position-if #'atom current :start 1)))
+	(let ((tag-pos (position-if-not #'listp current :start 1)))
 	  (unless tag-pos
 	    (segments `(,@current nil))
 	    (return))
-- 
GitLab