/[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.29 by akim, Mon Apr 22 08:21:54 2002 UTC revision 1.30 by akim, Sun May 26 18:39:04 2002 UTC
# Line 47  void Line 47  void
47  set_nullable (void)  set_nullable (void)
48  {  {
49    int ruleno;    int ruleno;
50    token_number_t *s1;    symbol_number_t *s1;
51    token_number_t *s2;    symbol_number_t *s2;
52    shorts *p;    shorts *p;
53    
54    token_number_t *squeue = XCALLOC (token_number_t, nvars);    symbol_number_t *squeue = XCALLOC (symbol_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.29  
changed lines
  Added in v.1.30

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