aboutsummaryrefslogtreecommitdiff
path: root/src/interp/compiler.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/compiler.boot')
-rw-r--r--src/interp/compiler.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/compiler.boot b/src/interp/compiler.boot
index 434f3c93..b93ccd4e 100644
--- a/src/interp/compiler.boot
+++ b/src/interp/compiler.boot
@@ -2418,7 +2418,7 @@ compReduce1(form is ["REDUCE",op,.,collectForm],m,e,$formalArgList) ==
[untilCode,.,e]:= comp($until,$Boolean,e) or return nil
itl := substitute(["UNTIL",untilCode],'$until,itl)
firstTime := gensym()
- finalCode := ['%loop,
+ finalCode := ['%repeat,
['%init,accu,'%nil],['%init,firstTime,'%true],:itl,
['%bind,[[b,third bval]],
['%seq,
@@ -2475,7 +2475,7 @@ massageLoop x == main x where
x isnt ['%scope,tag,['REPEAT,:iters,body]] => x
nullifyTargetingLeaves(body,tag)
containsNonLocalControl?(body,nil) => systemErrorHere ['massageLoop,x]
- ['%scope,tag,['%loop,:iters,body,'%nil]]
+ ['%scope,tag,['%repeat,:iters,body,'%nil]]
containsNonLocalControl?(x,tags) ==
atomic? x => false
x is ['%leave,tag,x'] =>