work-around destructive modification of slot-descriptions in t1define-structure - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2015年03月10日 18:13:40 -0400
committerCamm Maguire <camm@debian.org>2015年03月10日 18:13:40 -0400
commitf2314734156abc565028294d74727cfac4cc01d3 (patch)
treee4595e9404dd604a36d4457108b970940f2a23c3
parente64cb1aa25bcb82acf514fc52dd280b309d02afd (diff)
downloadgcl-bit_access.tar.gz
work-around destructive modification of slot-descriptions in t1define-structurebit_access
Diffstat
-rwxr-xr-xgcl/cmpnew/gcl_cmptop.lsp 2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcl/cmpnew/gcl_cmptop.lsp b/gcl/cmpnew/gcl_cmptop.lsp
index 6341117fd..c0b490099 100755
--- a/gcl/cmpnew/gcl_cmptop.lsp
+++ b/gcl/cmpnew/gcl_cmptop.lsp
@@ -1457,7 +1457,7 @@
(setf (get 'si::define-structure 't1) 't1define-structure)
(defun t1define-structure (args)
- (maybe-eval t `(si::define-structure ,@args ,(not (maybe-eval nil nil))))
+ (maybe-eval t `(si::define-structure ,@(copy-tree args) ,(not (maybe-eval nil nil))));FIXME
(t1ordinary (cons 'si::define-structure args)))
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月01日 18:23:49 +0000

AltStyle によって変換されたページ (->オリジナル) /