aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-opt.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r--src/interp/g-opt.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index 783900ed..73b252f8 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -250,7 +250,7 @@ optCond (x is ['COND,:l]) ==
if l is [[p1,:c1],[p2,:c2],:.] then
if (p1 is ["NOT",=p2]) or (p2 is ["NOT",=p1]) then
l:=[[p1,:c1],['(QUOTE T),:c2]]
- RPLACD( x,l)
+ x.rest := l
c1 is ['NIL] and p2 = '(QUOTE T) and first c2 = '(QUOTE T) =>
p1 is ["NOT",p1']=> return p1'
return ["NOT",p1]