From: ceriel Date: Fri, 22 Apr 1988 14:02:43 +0000 (+0000) Subject: corrected; sometimes lookahead would fail X-Git-Tag: release-5-5~3352 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b948e4b59d989362f3919c4acdbdb30fc66a471c;p=ack.git corrected; sometimes lookahead would fail --- diff --git a/mach/proto/cg/codegen.c b/mach/proto/cg/codegen.c index 6ce9d164e..b9dfef4f6 100644 --- a/mach/proto/cg/codegen.c +++ b/mach/proto/cg/codegen.c @@ -171,7 +171,8 @@ if (Debug) SAVEST; mincost = costlimit-totalcost+1; for(i=0;i1) { fprintf(stderr,"Next tuple %d,%d,%d,%d\n", if (Debug > 1) fprintf(stderr, "cost after coercions: %u\n", t); #endif if (t 1) fprintf(stderr, "cost after coercions: %u\n", t); erasereg(pos2[j]); } if (t 1) fprintf(stderr, "cost after coercions: %u\n", t); if (Debug>2) fprintf(stderr,"Continuing match after coercions\n"); #endif - t += codegen(codep,ply,FALSE,mincost-t,0); + t += codegen(codep,ply,FALSE,mincost