diff options
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r-- | src/interp/g-opt.boot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot index 00d8c6e0..7ef701c4 100644 --- a/src/interp/g-opt.boot +++ b/src/interp/g-opt.boot @@ -121,7 +121,7 @@ optCatch (x is ["CATCH",g,a]) == s is ["THROW", =g,u] => changeThrowToGo(u,g) rplac(first s,"PROGN") - rplac(rest s,[["LET",CADR g,u],["GO",CADR g]]) + rplac(rest s,[["%LET",CADR g,u],["GO",CADR g]]) changeThrowToGo(first s,g) changeThrowToGo(rest s,g) rplac(first x,"SEQ") @@ -172,7 +172,7 @@ optCallSpecially(q,x,n,R) == lookup(a,l) == null l => nil [l',:l]:= l - l' is ["LET", =a,l',:.] => l' + l' is ["%LET", =a,l',:.] => l' lookup(a,l) nil @@ -299,7 +299,7 @@ optSEQ ["SEQ",:l] == tryToRemoveSEQ SEQToCOND getRidOfTemps l where getRidOfTemps l == null l => nil - l is [["LET",g,x,:.],:r] and GENSYMP g and 2>numOfOccurencesOf(g,r) => + l is [["%LET",g,x,:.],:r] and GENSYMP g and 2>numOfOccurencesOf(g,r) => getRidOfTemps substitute(x,g,r) first l="/throwAway" => getRidOfTemps rest l --this gets rid of unwanted labels generated by declarations in SEQs |