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

Diff of /bison/src/lalr.c

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

revision 1.59 by akim, Mon Mar 4 12:05:15 2002 UTC revision 1.60 by akim, Mon Mar 4 13:56:41 2002 UTC
# Line 141  initialize_LA (void) Line 141  initialize_LA (void)
141    
142    LA = XCALLOC (bitset, nLA);    LA = XCALLOC (bitset, nLA);
143    for (i = 0; i < nLA; ++i)    for (i = 0; i < nLA; ++i)
144      {      LA[i] = bitset_create (ntokens, BITSET_FIXED);
       LA[i] = bitset_create (ntokens, BITSET_FIXED);  
       bitset_zero (LA[i]);  
     }  
145    LAruleno = XCALLOC (short, nLA);    LAruleno = XCALLOC (short, nLA);
146    lookback = XCALLOC (shorts *, nLA);    lookback = XCALLOC (shorts *, nLA);
147    
# Line 258  initialize_F (void) Line 255  initialize_F (void)
255    
256    F = XCALLOC (bitset, ngotos);    F = XCALLOC (bitset, ngotos);
257    for (i = 0; i < ngotos; ++i)    for (i = 0; i < ngotos; ++i)
258      {      F[i] = bitset_create (ntokens, BITSET_FIXED);
       F[i] = bitset_create (ntokens, BITSET_FIXED);  
       bitset_zero (F[i]);  
     }  
259    
260    for (i = 0; i < ngotos; i++)    for (i = 0; i < ngotos; i++)
261      {      {

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

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