mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
graphs: stylistic changes.
* src/graphviz.c (output_red): Comment and formatting changes.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user