bison-patches
[Top][All Lists]
Advanced

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

Re: vcg bug


From: Paul Eggert
Subject: Re: vcg bug
Date: Sun, 06 Mar 2005 22:36:46 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

address@hidden 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  <address@hidden>

        * src/vcg.c (output_edge): Don't quote linestyle arg.
        Problem reported by address@hidden

--- 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

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