From fcc7f11db9c755b9b58ce43d37bbe8a702af8ebf Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 22 Nov 2007 17:20:27 +0000 Subject: * as.boot: Globally substitute %noBranch for noBranch. * ax.boot: Likewise. * cattable.boot: Likewise. * compiler.boot: Likewise. * def.lisp: Likewise. * define.boot: Likewise. * functor.boot: Likewise. * g-opt.boot: Likewise. * i-analy.boot: Likewise. * i-intern.boot: Likewise. * i-map.boot: Likewise. * i-object.boot: Likewise. * i-output.boot: Likewise. * i-spec2.boot: Likewise. * info.boot: Likewise. * mark.boot: Likewise. * nrunopt.boot: Likewise. * package.boot: Likewise. * parse.boot: Likewise. * pf2atree.boot: Likewise. * pf2sex.boot: Likewise. * postpar.boot: Likewise. * pspad2.boot: Likewise. * wi2.boot: Likewise. --- src/interp/pspad2.boot | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/interp/pspad2.boot') diff --git a/src/interp/pspad2.boot b/src/interp/pspad2.boot index 4f5a729b..80af26dc 100644 --- a/src/interp/pspad2.boot +++ b/src/interp/pspad2.boot @@ -167,7 +167,7 @@ formatDeftranREPEAT(itl,body) == u := [x for x in itl | x is ["UNTIL",p]] or return nil nitl := SETDIFFERENCE(itl,u) pred := MKPF([p for ['UNTIL,p] in u],'or) - cond := ['IF,pred,['leave,n,nil],'noBranch] + cond := ['IF,pred,['leave,n,nil],'%noBranch] nbody := body is ['SEQ,:l,[.,n,x]] => ['SEQ,:l,x,['exit,n,cond]] ['SEQ,body,['exit,n,cond]] @@ -179,7 +179,7 @@ formatDeftranSEQ(x,flag) == [u] formatDeftranIf(a,b,c) == - b = 'noBranch => + b = '%noBranch => a is [op,:r] and (al := '((_= . _~_=) (_< . _>_=) (_> . _<_=)); iop := LASSOC(op, al) or rassoc(op, al)) => [["=>",[iop, :r],c]] @@ -187,7 +187,7 @@ formatDeftranIf(a,b,c) == [["=>", r, c]] [["=>", ['not, a], c]] post := - c = 'noBranch => nil + c = '%noBranch => nil c is ['SEQ,:.] => CDR c [c] [["=>",a,b],:post] @@ -229,8 +229,8 @@ formatDefault ["default",a] == formatUNCOERCE ['UNCOERCE,x] == format x formatIF ['IF,a,b,c] == - c = 'noBranch => formatIF2(a,b,"if ") - b = 'noBranch => formatIF ['IF,['not,a],c,'noBranch] + c = '%noBranch => formatIF2(a,b,"if ") + b = '%noBranch => formatIF ['IF,['not,a],c,'%noBranch] formatIF2(a,b,"if ") and newLine() and formatIF3 c formatIF2(a,b,prefix) == @@ -238,7 +238,7 @@ formatIF2(a,b,prefix) == formatIF3 x == x is ['IF,a,b,c] => - c = 'noBranch => tryBreak(format "else if " + c = '%noBranch => tryBreak(format "else if " and format a and format " then ",b,"then","Nud") formatIF2(a,b,"else if ") and newLine() and formatIF3 c tryBreak(format "else ",x,"else","Nud") -- cgit v1.2.3