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

Diff of /bison/src/derives.c

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

revision 1.22 by akim, Sat Dec 29 14:15:33 2001 UTC revision 1.23 by akim, Sat Dec 29 14:16:46 2001 UTC
# Line 43  print_derives (void) Line 43  print_derives (void)
43          {          {
44            short *rhsp;            short *rhsp;
45            fprintf (stderr, "\t\t%d:", *sp);            fprintf (stderr, "\t\t%d:", *sp);
46            for (rhsp = ritem + rule_table[*sp].rhs; *rhsp >= 0; ++rhsp)            for (rhsp = &ritem[rule_table[*sp].rhs]; *rhsp >= 0; ++rhsp)
47              fprintf (stderr, " %s", tags[*rhsp]);              fprintf (stderr, " %s", tags[*rhsp]);
48            fprintf (stderr, " (rule %d)\n", -*rhsp - 1);            fprintf (stderr, " (rule %d)\n", -*rhsp - 1);
49          }          }

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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