/[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.25 by akim, Sat Dec 29 14:20:13 2001 UTC revision 1.26 by akim, Sun Apr 7 15:29:36 2002 UTC
# Line 44  print_derives (void) Line 44  print_derives (void)
44          {          {
45            short *rhsp;            short *rhsp;
46            fprintf (stderr, "\t\t%d:", *sp);            fprintf (stderr, "\t\t%d:", *sp);
47            for (rhsp = &ritem[rules[*sp].rhs]; *rhsp >= 0; ++rhsp)            for (rhsp = rules[*sp].rhs; *rhsp >= 0; ++rhsp)
48              fprintf (stderr, " %s", symbols[*rhsp]->tag);              fprintf (stderr, " %s", symbols[*rhsp]->tag);
49            fprintf (stderr, " (rule %d)\n", -*rhsp - 1);            fprintf (stderr, " (rule %d)\n", -*rhsp - 1);
50          }          }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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