graph: minor simplification
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 28 Dec 2012 09:04:49 +0000 (10:04 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 28 Dec 2012 09:36:54 +0000 (10:36 +0100)
commitfd7f0289bcfa2e830439e37395fd91f0d7587a39
tree73459a541350372e964b6691b9706529d4bc73d0
parent510c8497f81feb0b81ecd656b32c497643796734
graph: minor simplification

* src/gram.c (print_lhs): Use %*s to indent.
* src/print_graph.c (print_lhs): Use obstack_printf.
Became simple enough to be inlined in...
(print_core): here.
Use a "rule*" instead of an index in "rules[]".
src/gram.c
src/print_graph.c