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

Diff of /bison/src/LR0.c

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

revision 1.54 by akim, Sat Dec 29 14:20:47 2001 UTC revision 1.55 by akim, Sat Dec 29 14:21:23 2001 UTC
# Line 113  allocate_storage (void) Line 113  allocate_storage (void)
113    shiftset = XCALLOC (short, nsyms);    shiftset = XCALLOC (short, nsyms);
114    redset = XCALLOC (short, nrules + 1);    redset = XCALLOC (short, nrules + 1);
115    state_hash = XCALLOC (state_t *, STATE_HASH_SIZE);    state_hash = XCALLOC (state_t *, STATE_HASH_SIZE);
116      shift_symbol = XCALLOC (short, nsyms);
117  }  }
118    
119    
# Line 154  new_itemsets (void) Line 155  new_itemsets (void)
155    for (i = 0; i < nsyms; i++)    for (i = 0; i < nsyms; i++)
156      kernel_size[i] = 0;      kernel_size[i] = 0;
157    
   shift_symbol = XCALLOC (short, nsyms);  
158    nshifts = 0;    nshifts = 0;
159    
160    for (i = 0; i < nitemset; ++i)    for (i = 0; i < nitemset; ++i)

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

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