]> git.saurik.com Git - bison.git/commit - src/print_graph.c
* src/print.c (print_actions): Output the handling of `$' as the
authorAkim Demaille <akim@epita.fr>
Thu, 13 Dec 2001 11:01:51 +0000 (11:01 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 13 Dec 2001 11:01:51 +0000 (11:01 +0000)
commit2e729273d633f1ddaf1b6affdca53f3e63f3715c
tree34ceb7dacb764fbc61bff8d20ba14bf99d6919cb
parent107f7dfbd0baaaceee887cbaea2041a9f7f5db66
* src/print.c (print_actions): Output the handling of `$' as the
traces do: shifting the token EOF.  Before EOF was treated as a
nonterminal.
* tests/regression.at: Adjust some tests.
* src/print_graph.c (print_core): Complete the set of items via
closure.  The next-to-final and final states are still unsatisfying,
but that's to be addressed elsewhere.
No longer output the rule numbers, but do output the state number.
A single loop for the shifts + gotos is enough, but picked a
distinct color for each.
(print_graph): Initialize and finalize closure.
ChangeLog
src/print.c
src/print_graph.c
tests/regression.at