[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: last call for 2.4.3

From: tys lefering
Subject: Re: last call for 2.4.3
Date: Sun, 25 Jul 2010 01:35:57 +0200
User-agent: SquirrelMail/1.4.18

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]