[EMAIL PROTECTED] writes:

> little typo in bison vcg.c
> void output_edge (edge *e, FILE *fout)
> {
>   ...
>   if (e->linestyle != E_LINESTYLE)
>     fprintf (fout, "\t\tlinestyle:\t%s\n",
>            quote (get_linestyle_str (e->linestyle)));
> }
> Looks like it should be without the quote().
> Does not harm in current existing output
> because e->linestyle is always E_LINESTYLE,
> but better to fix.

OK, thanks, I installed this patch:

2005-03-06  Paul Eggert  <[EMAIL PROTECTED]>

        * src/vcg.c (output_edge): Don't quote linestyle arg.
        Problem reported by [EMAIL PROTECTED]

--- vcg.c       28 Jan 2005 22:06:55 -0000      1.18
+++ vcg.c       7 Mar 2005 06:35:31 -0000       1.19
@@ -584,8 +584,7 @@ output_edge (edge *e, FILE *fout)
     fprintf (fout, "\t\tlabel:\t%s\n", quote (e->label));
 
   if (e->linestyle != E_LINESTYLE)
-    fprintf (fout, "\t\tlinestyle:\t%s\n",
-            quote (get_linestyle_str (e->linestyle)));
+    fprintf (fout, "\t\tlinestyle:\t%s\n", get_linestyle_str (e->linestyle));
 
   if (e->thickness != E_THICKNESS)
     fprintf (fout, "\t\tthickness:\t%d\n", e->thickness);


Reply via email to