From 1ec599a925d592b9d032483cd9d06dd9e947ac19 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Wed, 16 Dec 1992 18:11:02 +0000 Subject: [PATCH] Don't have :rest-p slots contribute to the length of the primitive objects. --- compiler/generic/vm-macs.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/generic/vm-macs.lisp b/compiler/generic/vm-macs.lisp index 485cb0d95..bffe54f77 100644 --- a/compiler/generic/vm-macs.lisp +++ b/compiler/generic/vm-macs.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/generic/vm-macs.lisp,v 1.9 1992/12/16 13:34:19 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-macs.lisp,v 1.10 1992/12/16 18:11:02 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -120,7 +120,8 @@ (error "No more slots can follow a :rest-p slott.")) (destructuring-bind (slot-name &rest options - &key docs rest-p (length 1) ((:type slot-type)) init + &key docs rest-p (length (if rest-p 0 1)) + ((:type slot-type)) init (ref-known nil ref-known-p) ref-trans (set-known nil set-known-p) set-trans &allow-other-keys) -- GitLab