/[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.17.2.7 by akim, Wed Nov 14 14:43:29 2001 UTC revision 1.17.2.8 by akim, Mon Nov 19 09:08:44 2001 UTC
# Line 54  print_core (FILE *out, int state) Line 54  print_core (FILE *out, int state)
54    short *sp;    short *sp;
55    short *sp1;    short *sp1;
56    
57    statep = state_table[state];    statep = state_table[state].state;
58    k = statep->nitems;    k = statep->nitems;
59    
60    if (k == 0)    if (k == 0)
# Line 124  print_actions (FILE *out, int state) Line 124  print_actions (FILE *out, int state)
124            if (!shiftp->shifts[i])            if (!shiftp->shifts[i])
125              continue;              continue;
126            state1 = shiftp->shifts[i];            state1 = shiftp->shifts[i];
127            symbol = accessing_symbol[state1];            symbol = state_table[state1].accessing_symbol;
128            /* The following line used to be turned off.  */            /* The following line used to be turned off.  */
129            if (ISVAR (symbol))            if (ISVAR (symbol))
130              break;              break;
# Line 184  print_actions (FILE *out, int state) Line 184  print_actions (FILE *out, int state)
184            if (!shiftp->shifts[i])            if (!shiftp->shifts[i])
185              continue;              continue;
186            state1 = shiftp->shifts[i];            state1 = shiftp->shifts[i];
187            symbol = accessing_symbol[state1];            symbol = state_table[state1].accessing_symbol;
188            fprintf (out, _("    %-4s\tgo to state %d\n"),            fprintf (out, _("    %-4s\tgo to state %d\n"),
189                     tags[symbol], state1);                     tags[symbol], state1);
190          }          }

Legend:
Removed from v.1.17.2.7  
changed lines
  Added in v.1.17.2.8

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