aboutsummaryrefslogtreecommitdiff
path: root/src/interp/c-util.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/c-util.boot')
-rw-r--r--src/interp/c-util.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/c-util.boot b/src/interp/c-util.boot
index 1fc1e117..d5b8492e 100644
--- a/src/interp/c-util.boot
+++ b/src/interp/c-util.boot
@@ -381,9 +381,9 @@ isAlmostSimple x ==
op="is" => x
op="LET" =>
IDENTP y => (setAssignment LIST x; y)
- true => (setAssignment [["LET",g:= genVariable(),:l],["LET",y,g]]; g)
+ (setAssignment [["LET",g:= genVariable(),:l],["LET",y,g]]; g)
isSideEffectFree op => [op,:mapInto(rest x, function fn)]
- true => $assignmentList:= "failed"
+ $assignmentList:= "failed"
setAssignment x ==
$assignmentList="failed" => nil
$assignmentList:= [:$assignmentList,:x]