From acd10a3b5840763543fac1db8c2e1be3145f95b4 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Wed, 6 Nov 1991 19:20:08 +0000 Subject: [PATCH] Added optimize (safety 1) to make sure that some sort of syntax checking is done. --- code/defstruct.lisp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/defstruct.lisp b/code/defstruct.lisp index 3c0f9e428..bf2752f08 100644 --- a/code/defstruct.lisp +++ b/code/defstruct.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.24 1991/06/06 16:36:00 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.25 1991/11/06 19:20:08 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -20,6 +20,9 @@ (export '(structure-index make-structure structure-length structure-ref structure-set)) +;;; Always compile safe. This code isn't very careful about protecting itself. +;;; +(declaim (optimize (safety 1))) ;;;; Structure frobbing primitives. -- GitLab