commit-bison
[Top][All Lists]
Advanced

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

bison ./ChangeLog src/conflicts.c src/lalr.c sr...


From: Akim Demaille
Subject: bison ./ChangeLog src/conflicts.c src/lalr.c sr...
Date: Thu, 01 Aug 2002 14:14:30 -0400

CVSROOT:        /cvsroot/bison
Module name:    bison
Changes by:     Akim Demaille <address@hidden>  02/08/01 14:14:30

Modified files:
        .              : ChangeLog 
        src            : conflicts.c lalr.c main.c print.c print_graph.c 
                         state.c state.h tables.c 

Log message:
        Instead of attaching lookaheads and duplicating the rules being
        reduced by a state, attach the lookaheads to the reductions.
        * src/state.h (state_t): Remove the `lookaheads',
        `lookaheads_rule' member.
        (reductions_t): Add a `lookaheads' member.
        Use a regular array for the `rules'.
        * src/state.c (reductions_new): Initialize the lookaheads member
        to 0.
        (state_rule_lookaheads_print): Adjust.
        * src/state.h, src/state.c (state_reductions_find): New.
        * src/conflicts.c (resolve_sr_conflict, set_conflicts)
        (count_rr_conflicts): Adjust.
        * src/lalr.c (LArule): Remove.
        (add_lookback_edge): Adjust.
        (state_lookaheads_count): New.
        (states_lookaheads_initialize): Merge into...
        (initialize_LA): this.
        (lalr_free): Adjust.
        * src/main.c (main): Don't free nullable and derives too early: it
        is used by --verbose.
        * src/print.c, src/print_graph.c, src/tables.c: Adjust.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?tr1=1.818&tr2=1.819&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/conflicts.c.diff?tr1=1.92&tr2=1.93&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/lalr.c.diff?tr1=1.89&tr2=1.90&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/main.c.diff?tr1=1.67&tr2=1.68&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/print.c.diff?tr1=1.87&tr2=1.88&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/print_graph.c.diff?tr1=1.50&tr2=1.51&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/state.c.diff?tr1=1.22&tr2=1.23&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/state.h.diff?tr1=1.40&tr2=1.41&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/tables.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text




reply via email to

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