Change call to MAKE-DEFINE-STRUCTURE-TYPE so that per-slot lists are
authorChris Hanson <org/chris-hanson/cph>
Fri, 14 Mar 2003 20:11:37 +0000 (20:11 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 14 Mar 2003 20:11:37 +0000 (20:11 +0000)
constructed as vectors.

v7/src/runtime/defstr.scm

index 32e908f25d7ab1d0461a337b424965f295284b08..b41c5959ebda88e4035746e5e198d5053e8a9794 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: defstr.scm,v 14.53 2003/03/13 21:50:00 cph Exp $
+$Id: defstr.scm,v 14.54 2003/03/14 20:11:37 cph Exp $
 
 Copyright 1987,1988,1989,1990,1991,1992 Massachusetts Institute of Technology
 Copyright 1993,1994,1995,1996,1997,2000 Massachusetts Institute of Technology
@@ -800,9 +800,9 @@ differences:
               `(,(absolute 'MAKE-DEFINE-STRUCTURE-TYPE context)
                 ',(structure/physical-type structure)
                 ',name
-                ',field-names
-                ',(map slot/index slots)
-                (LIST ,@inits)
+                '#(,@field-names)
+                '#(,@(map slot/index slots))
+                (VECTOR ,@inits)
                 ,(if (structure/tagged? structure)
                      (close print-procedure context)
                      '#F)