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

Diff of /bison/src/nullable.c

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

revision 1.28 by akim, Mon Apr 8 11:45:59 2002 UTC revision 1.29 by akim, Mon Apr 22 08:21:54 2002 UTC
# Line 47  void Line 47  void
47  set_nullable (void)  set_nullable (void)
48  {  {
49    int ruleno;    int ruleno;
50    short *s1;    token_number_t *s1;
51    short *s2;    token_number_t *s2;
52    shorts *p;    shorts *p;
53    
54    short *squeue = XCALLOC (short, nvars);    token_number_t *squeue = XCALLOC (token_number_t, nvars);
55    short *rcount = XCALLOC (short, nrules + 1);    short *rcount = XCALLOC (short, nrules + 1);
56    /* RITEM contains all the rules, including useless productions.    /* RITEM contains all the rules, including useless productions.
57       Hence we must allocate room for useless nonterminals too.  */       Hence we must allocate room for useless nonterminals too.  */

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

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