- obstack_sgrow (out, "\" style = solid]\n");
-
- /* Build the associated diamond representation or the target rule. */
- obstack_printf (out, " \"%dR%d%s\" "
- "[style = filled shape = diamond fillcolor = %s "
- "label = \"R%d\"]\n",
- source, ruleno, ed,
- enabled ? "yellowgreen" : "firebrick1",
- ruleno);
- fprintf (fout, obstack_finish0 (out));
+ fprintf (fout, "style=solid]\n");
+
+ /* Build the associated diamond representation of the target rule. */
+ fprintf (fout, " \"%dR%d%s\" [label=\"",
+ source, ruleno, ed);
+ if (ruleno)
+ fprintf (fout, "R%d", ruleno);
+ else
+ fprintf (fout, "Acc");
+
+ fprintf (fout, "\", fillcolor=%s, shape=diamond, style=filled]\n",
+ color);