On Sat, July 24, 2010 22:52, Joel E. Denny wrote:
>> That sounds great.  It might be this weekend before I roll 2.4.3.
> Any other changes from anyone?

Yes: colored dot graph output would be nice.

This is a minimal patch in output_edge() in graphviz.c
and print_actions() in print_graph.c same as done
in the older graph output routines in bison-2.3a.tar.gz

The shifts are "blue", gotos are "green" and
error is "red", or printed as dot graph,

  fprintf (fout, "  \"%d\" -> \"%d\" [style=%s,color=\"%s\"", source,
destination, style, color);
  if (label)
    fprintf (fout, ",label=%s", quote (label));
  fputs ("];\n", fout);


can send you a patch if you want, guessing you can
do it faster.

Thanks,
Tys.



Reply via email to