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

Diff of /bison/src/print_graph.c

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

revision 1.27 by akim, Sat Dec 29 14:20:13 2001 UTC revision 1.28 by akim, Sat Dec 29 14:20:47 2001 UTC
# Line 114  print_actions (state_t *state, const cha Line 114  print_actions (state_t *state, const cha
114      if (!SHIFT_IS_DISABLED (shiftp, i))      if (!SHIFT_IS_DISABLED (shiftp, i))
115        {        {
116          int state1 = shiftp->shifts[i];          int state1 = shiftp->shifts[i];
117          int symbol = state_table[state1]->accessing_symbol;          int symbol = states[state1]->accessing_symbol;
118    
119          new_edge (&edge);          new_edge (&edge);
120    
# Line 202  print_graph (void) Line 202  print_graph (void)
202    /* Output nodes and edges. */    /* Output nodes and edges. */
203    new_closure (nritems);    new_closure (nritems);
204    for (i = 0; i < nstates; i++)    for (i = 0; i < nstates; i++)
205      print_state (state_table[i]);      print_state (states[i]);
206    free_closure ();    free_closure ();
207    
208    /* Close graph. */    /* Close graph. */

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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