]> git.saurik.com Git - bison.git/commit
* src/conflicts.c (log_resolution, flush_shift)
authorAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:05:05 +0000 (18:05 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:05:05 +0000 (18:05 +0000)
commit065fbd27af96e4aa82b5f3354870b0dcfee72ce8
tree37cac8340f3cb8f73e382cf55fee4369d991e9cb
parent1b177bd73144794dc699d5c025ac25fbf6f6183b
* src/conflicts.c (log_resolution, flush_shift)
(resolve_sr_conflict, set_conflicts, solve_conflicts)
(count_sr_conflicts, count_rr_conflicts, conflicts_output)
(conflicts_print, print_reductions): Use a state_t instead of an
integer when referring to a state.
As much as possible, depend upon nlookaheads, instead of the
`lookaheadsp' member of the following state (since lookaheads of
successive states are successive, the difference between state n + 1
and n served as the number of lookaheads for state n).
* src/lalr.c (add_lookback_edge): Likewise.
* src/print.c (print_core, print_actions, print_state)
(print_results): Likewise.
* src/print_graph.c (print_core, print_actions, print_state)
(print_graph): Likewise.
* src/conflicts.h: Adjust.
ChangeLog
src/conflicts.c
src/conflicts.h
src/lalr.c
src/print.c
src/print_graph.c