/[bison]/bison/ChangeLog
ViewVC logotype

Diff of /bison/ChangeLog

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

revision 1.764 by akim, Sun Jun 30 17:28:44 2002 UTC revision 1.765 by akim, Sun Jun 30 17:29:36 2002 UTC
# Line 1  Line 1 
1  2002-06-30  Akim Demaille  <akim@epita.fr>  2002-06-30  Akim Demaille  <akim@epita.fr>
2    
3            Use hash.h for the state hash table.
4    
5            * src/LR0.c (STATE_HASH_SIZE, state_hash): Remove.
6            (allocate_storage): Use state_hash_new.
7            (free_storage): Use state_hash_free.
8            (new_state, get_state): Adjust.
9            * src/lalr.h, src/lalr.c (states): Move to...
10            * src/states.h (state_t): Remove the `link' member, no longer
11            used.
12            * src/states.h, src/states.c: here.
13            (state_hash_new, state_hash_free, state_hash_lookup)
14            (state_hash_insert, states_free): New.
15            * src/states.c (state_table, state_compare, state_hash): New.
16            * src/output.c (output_actions): Do not free states now, since we
17            still need to know the final_state number in `prepare', called
18            afterwards.  Do it...
19            * src/main.c (main): here: call states_free after `output'.
20    
21            
22    2002-06-30  Akim Demaille  <akim@epita.fr>
23    
24          * src/state.h, src/state.c (state_new): New, extracted from...          * src/state.h, src/state.c (state_new): New, extracted from...
25          * src/LR0.c (new_state): here.          * src/LR0.c (new_state): here.
26          * src/state.h (STATE_ALLOC): Move to...          * src/state.h (STATE_ALLOC): Move to...

Legend:
Removed from v.1.764  
changed lines
  Added in v.1.765

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