From: Akim Demaille Date: Thu, 11 Oct 2012 14:58:03 +0000 (+0200) Subject: graphs: stylistic changes. X-Git-Tag: v2.6.90~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43eb7674aaa06d60ac612965d2f8b1a08afc0b73;p=platform%2Fupstream%2Fbison.git graphs: stylistic changes. * src/graphviz.c (output_red): Comment and formatting changes. --- diff --git a/src/graphviz.c b/src/graphviz.c index b37a28e..e62ee1d 100644 --- a/src/graphviz.c +++ b/src/graphviz.c @@ -144,12 +144,12 @@ output_red (state const *s, reductions const *reds, FILE *fout) } obstack_sgrow (&oout, "\" style=solid]\n"); - /* Then, print the reduction's representation. This most be done later - because the we need the previously determined boolean to know if this - reduction is disabled or not. */ - obstack_printf (&oout, " \"%dR%d\" " - "[style=filled shape=diamond fillcolor=%s " - "label=\"R%d\"]\n", + /* Then, print the reduction's representation. Done later since + we need to know whether this reduction is disabled. */ + obstack_printf (&oout, + " \"%dR%d\" " + "[style=filled shape=diamond fillcolor=%s " + "label=\"R%d\"]\n", source, ruleno, disabled ? "firebrick1" : "yellowgreen", ruleno);