graphs: style changes
authorTheophile Ranquet <theophile.ranquet@gmail.com>
Thu, 18 Oct 2012 15:38:30 +0000 (15:38 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 18 Oct 2012 14:23:27 +0000 (16:23 +0200)
commit8048226f50f62fb64044625bf0ebbdc403a6776e
treebc3c96c16707ed872a3cfb0317ee6e3c1b4bfd6c
parent85935600ad544bfe16ede35621f0b96b5d3dce81
graphs: style changes

* src/graphviz.c (start_graph): Use courier font.
(conclude_red): Use commas to separate attributes. Show the acceptation
as a special reduction, with a blue color and an "Acc" label. Show the
lookahead tokens between square brackets.
(output_red): No longer label default reductions.
* src/print_graph.c (print_core): Refactor spacing, and print an
additional space between a rule's rhs and its lookahead tokens. Also,
capitalize "State".
(print_actions): Style, move a declaration.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
src/graphviz.c
src/print_graph.c