errs *errp = state->errs;
int i;
- if (!errp)
- return;
-
for (i = 0; i < errp->nerrs; ++i)
if (errp->errs[i])
fprintf (out, _(" %-4s\terror (nonassociative)\n"),
tags[errp->errs[i]]);
if (i > 0)
- fputc ('\n', out);
+ fputc ('\n', out);
}
SETBIT (shiftset, SHIFT_SYMBOL (shiftp, i));
}
- if (errp)
- for (i = 0; i < errp->nerrs; i++)
- if (errp->errs[i])
- SETBIT (shiftset, errp->errs[i]);
+ for (i = 0; i < errp->nerrs; i++)
+ if (errp->errs[i])
+ SETBIT (shiftset, errp->errs[i]);
if (state->nlookaheads == 1 && !nodefault)
{