diff options
Diffstat (limited to 'src/boot/ast.boot')
-rw-r--r-- | src/boot/ast.boot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/ast.boot b/src/boot/ast.boot index 5b04ea8f..f8718598 100644 --- a/src/boot/ast.boot +++ b/src/boot/ast.boot @@ -305,7 +305,7 @@ bfIN(x,E)== g := bfGenSymbol() vars := [g] inits := [E] - exitCond := ['ATOM,g] + exitCond := ['NOT,['CONSP,g]] if x isnt "DOT" then vars := [:vars,x] inits := [:inits,nil] @@ -320,7 +320,7 @@ bfON(x,E)== if not symbol? E or not symbolEq?(x,E) then var := [x] init := [E] - [[var,init,[['SETQ,x,['CDR, x]]],[],[['ATOM,x]],[]]] + [[var,init,[['SETQ,x,['CDR, x]]],[],[['NOT,['CONSP,x]]],[]]] bfSuchthat p == [[[],[],[],[p],[],[]]] |