commit-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bison ./ChangeLog src/LR0.c src/lalr.c src/lalr...


From: Akim Demaille
Subject: bison ./ChangeLog src/LR0.c src/lalr.c src/lalr...
Date: Sun, 30 Jun 2002 13:29:36 -0400

CVSROOT:        /cvsroot/bison
Module name:    bison
Changes by:     Akim Demaille <address@hidden>  02/06/30 13:29:36

Modified files:
        .              : ChangeLog 
        src            : LR0.c lalr.c lalr.h main.c output.c state.c 
                         state.h 

Log message:
        Use hash.h for the state hash table.
        * src/LR0.c (STATE_HASH_SIZE, state_hash): Remove.
        (allocate_storage): Use state_hash_new.
        (free_storage): Use state_hash_free.
        (new_state, get_state): Adjust.
        * src/lalr.h, src/lalr.c (states): Move to...
        * src/states.h (state_t): Remove the `link' member, no longer
        used.
        * src/states.h, src/states.c: here.
        (state_hash_new, state_hash_free, state_hash_lookup)
        (state_hash_insert, states_free): New.
        * src/states.c (state_table, state_compare, state_hash): New.
        * src/output.c (output_actions): Do not free states now, since we
        still need to know the final_state number in `prepare', called
        afterwards.  Do it...
        * src/main.c (main): here: call states_free after `output'.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?tr1=1.764&tr2=1.765&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/LR0.c.diff?tr1=1.70&tr2=1.71&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/lalr.c.diff?tr1=1.71&tr2=1.72&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/lalr.h.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/main.c.diff?tr1=1.57&tr2=1.58&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/output.c.diff?tr1=1.172&tr2=1.173&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/state.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/state.h.diff?tr1=1.31&tr2=1.32&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]