aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-output.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/i-output.boot')
-rw-r--r--src/interp/i-output.boot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/i-output.boot b/src/interp/i-output.boot
index a42cd712..bdb5c654 100644
--- a/src/interp/i-output.boot
+++ b/src/interp/i-output.boot
@@ -1066,7 +1066,7 @@ putWidth u ==
1
argsWidth:=
l is [firstArg,:restArg] =>
- RPLACA(rest u,putWidth firstArg)
+ u.rest.first := putWidth firstArg
for y in tails restArg repeat
y.first := putWidth first y
widthFirstArg:=
@@ -2336,10 +2336,10 @@ bracketagglist(u, start, linelength, tchr, open, close) ==
nil or
s = -1 => (nextu := nil)
EQ(lastx, u) => ((nextu := rest u); u.rest := nil)
- true => ((nextu := lastx); RPLACD(PREDECESSOR(lastx, u), nil))
+ true => ((nextu := lastx); PREDECESSOR(lastx, u).rest := nil)
for x in tails u repeat
x.first := LIST('CONCAT, first x, tchr)
- if null nextu then RPLACA(CDDR LAST u, close)
+ if null nextu then LAST(u).rest.rest.first := close
x := ASSOCIATER('CONCAT, CONS(ichr, u))
charybdis(ASSOCIATER('CONCAT, u), start, linelength)
if $collectOutput then TERPRI $algebraOutputStream