- open_node (&graph_obstack);
-
- sprintf(name, "%d", state);
- node.title = name;
- output_node (&node, &graph_obstack);
-
- print_core (state); /* node label */
-
- close_node (&graph_obstack);
-
- print_actions (state, &node); /* edges */
+ sprintf (name, "%d", state);
+ node.title = name;
+ print_core (state, &node_obstack);
+ obstack_1grow (&node_obstack, '\0');
+ node.label = obstack_finish (&node_obstack);
+
+ open_node (fgraph);
+ output_node (&node, fgraph);
+ close_node (fgraph);
+
+ /* Output the edges. */
+ print_actions (state, name);
+
+ obstack_free (&node_obstack, 0);