128 |
static void |
static void |
129 |
print_errs (FILE *out, state_t *state) |
print_errs (FILE *out, state_t *state) |
130 |
{ |
{ |
131 |
errs *errp = state->errs; |
errs_t *errp = state->errs; |
132 |
int i; |
int i; |
133 |
|
|
134 |
for (i = 0; i < errp->nerrs; ++i) |
for (i = 0; i < errp->nerrs; ++i) |
170 |
{ |
{ |
171 |
int i; |
int i; |
172 |
shifts_t *shiftp = state->shifts; |
shifts_t *shiftp = state->shifts; |
173 |
reductions *redp = state->reductions; |
reductions_t *redp = state->reductions; |
174 |
errs *errp = state->errs; |
errs_t *errp = state->errs; |
175 |
int nodefault = 0; |
int nodefault = 0; |
176 |
|
|
177 |
if (redp->nreds == 0) |
if (redp->nreds == 0) |
304 |
static void |
static void |
305 |
print_actions (FILE *out, state_t *state) |
print_actions (FILE *out, state_t *state) |
306 |
{ |
{ |
307 |
reductions *redp = state->reductions; |
reductions_t *redp = state->reductions; |
308 |
shifts_t *shiftp = state->shifts; |
shifts_t *shiftp = state->shifts; |
309 |
|
|
310 |
if (shiftp->nshifts == 0 && redp->nreds == 0) |
if (shiftp->nshifts == 0 && redp->nreds == 0) |