/[bison]/bison/src/print.c
ViewVC logotype

Diff of /bison/src/print.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.74 by akim, Sun Jun 30 17:30:29 2002 UTC revision 1.75 by akim, Sun Jun 30 17:30:46 2002 UTC
# Line 128  print_shifts (FILE *out, state_t *state) Line 128  print_shifts (FILE *out, state_t *state)
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)
# Line 170  print_reductions (FILE *out, state_t *st Line 170  print_reductions (FILE *out, state_t *st
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)
# Line 304  print_reductions (FILE *out, state_t *st Line 304  print_reductions (FILE *out, state_t *st
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)

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26