small adaption to "awayreg".

This commit is contained in:
ceriel 1987-01-08 14:09:14 +00:00
parent 1239449207
commit bfb60b8a33

View file

@ -99,7 +99,7 @@ awayreg(regno) {
if (rp->r_contents.t_token == -1) {
if (rp->r_contents.t_att[0].ar == regno)
erasereg(rp-machregs);
} else {
} else if (rp->r_contents.t_token > 0) {
tdp= & tokens[rp->r_contents.t_token];
for (i=0;i<TOKENSIZE;i++)
if (tdp->t_type[i] == EV_REG &&