Skip to content
Snippets Groups Projects
Commit f192ade5 authored by wlott's avatar wlott
Browse files

Hacked fop-svset to be able to deal with structures in addition to

simple-vectors.
,
parent b15e772d
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC). ;;; Scott Fahlman (FAHLMAN@CMUC).
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/load.lisp,v 1.7 1990/10/05 15:14:09 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/load.lisp,v 1.8 1990/10/09 22:17:30 wlott Exp $
;;; ;;;
;;; Loader for Spice Lisp. ;;; Loader for Spice Lisp.
;;; Written by Skef Wholey and Rob MacLachlan. ;;; Written by Skef Wholey and Rob MacLachlan.
...@@ -769,7 +769,9 @@ ...@@ -769,7 +769,9 @@
(obj (svref *current-fop-table* obi)) (obj (svref *current-fop-table* obi))
(idx (read-arg 4)) (idx (read-arg 4))
(val (pop-stack))) (val (pop-stack)))
(setf (svref obj idx) val))) (if (structurep obj)
(setf (c::structure-ref obj idx) val)
(setf (svref obj idx) val))))
(define-fop (fop-nthcdr 203 t) (define-fop (fop-nthcdr 203 t)
(nthcdr (read-arg 4) (pop-stack))) (nthcdr (read-arg 4) (pop-stack)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment