From: sater Date: Tue, 20 Nov 1984 16:56:26 +0000 (+0000) Subject: In the RREMOVE section of this file, the field e_con of the X-Git-Tag: release-5-5~5978 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6a4dc794a2e38aa59c0604970a2f05d3c8bd65f0;p=ack.git In the RREMOVE section of this file, the field e_con of the expression union was used in stead of e_reg. Fixed. Checked all other occurrances, are correct. --- diff --git a/mach/proto/cg/codegen.c b/mach/proto/cg/codegen.c index 8c4fb6f0d..2619f856b 100644 --- a/mach/proto/cg/codegen.c +++ b/mach/proto/cg/codegen.c @@ -402,13 +402,13 @@ if (Debug) assert(result.e_typ==EV_REG); for (tp= &fakestack[stackheight-tokpatlen-1];tp>=&fakestack[0];tp--) if (tp->t_token==-1) { - if(tp->t_att[0].ar==result.e_v.e_con) + if(tp->t_att[0].ar==result.e_v.e_reg) goto gotone; } else { tdp = &tokens[tp->t_token]; for(i=0;it_type[i]==EV_REG && - tp->t_att[i].ar==result.e_v.e_con) + tp->t_att[i].ar==result.e_v.e_reg) goto gotone; } break;