From 4d34a7c87dfe6cf9d9351075075cdc1211a8cc4b Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Fri, 25 Jan 1991 21:44:44 +0000 Subject: [PATCH] Added new fop-structset for fixing up structures. Note: fop-svset still has it's hack so we don't have to recompile everything. --- code/load.lisp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/load.lisp b/code/load.lisp index 570b6765c..3e3852676 100644 --- a/code/load.lisp +++ b/code/load.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/load.lisp,v 1.23 1991/01/11 22:39:32 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/load.lisp,v 1.24 1991/01/25 21:44:44 wlott Exp $ ;;; ;;; Loader for Spice Lisp. ;;; Written by Skef Wholey and Rob MacLachlan. @@ -741,6 +741,11 @@ (setf (c::structure-ref obj idx) val) (setf (svref obj idx) val)))) +(define-fop (fop-structset 204 nil) + (setf (c::structure-ref (svref *current-fop-table* (read-arg 4)) + (read-arg 4)) + (pop-stack))) + (define-fop (fop-nthcdr 203 t) (nthcdr (read-arg 4) (pop-stack))) -- GitLab