From f61b013b7c7b52d6da63383b375bff1942888ace Mon Sep 17 00:00:00 2001 From: toy <toy> Date: Thu, 23 Jan 2003 21:40:31 +0000 Subject: [PATCH] Handle BOA constructors with keyword arguments of the form ((key var) [default [svar]]). Bug noted by Paul Dietz; fix from Gerd Moellmann. --- code/defstruct.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/defstruct.lisp b/code/defstruct.lisp index 9ce6ffbb9..ade47d35b 100644 --- a/code/defstruct.lisp +++ b/code/defstruct.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.79 2003/01/23 21:05:33 toy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.80 2003/01/23 21:40:31 toy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1028,7 +1028,7 @@ name-spec))) (multiple-value-bind (type slot-def) (get-slot name) (arglist - `(,name + `(,name-spec ,(if def-p def slot-def) ,@(if supplied-test-p `(,supplied-test) nil))) (vars name) -- GitLab