X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c85541913b99f841de090aacf626bb8f52f7f727..6fbe73b6a048046a4e674df12d5db9223acac67c:/src/print_graph.c diff --git a/src/print_graph.c b/src/print_graph.c index d37afb2c..4847c4cc 100644 --- a/src/print_graph.c +++ b/src/print_graph.c @@ -155,8 +155,7 @@ print_state (state *s, FILE *fgraph) /* A node's label contains its items. */ obstack_init (&node_obstack); print_core (&node_obstack, s); - obstack_1grow (&node_obstack, '\0'); - output_node (s->number, obstack_finish (&node_obstack), fgraph); + output_node (s->number, obstack_finish0 (&node_obstack), fgraph); obstack_free (&node_obstack, 0); /* Output the edges. */