- 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\" [style = filled, "
+ "shape = diamond, fillcolor = %s, ",
+ source, ruleno, ed, color);
+
+ if (ruleno)
+ fprintf (fout, "label = \"R%d\"]\n", ruleno);
+ else
+ fprintf (fout, "label = \"Acc\"]\n");
+