[Top][All Lists]

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

Re: bison-2 bug

From: Paul Eggert
Subject: Re: bison-2 bug
Date: Thu, 27 Jan 2005 14:06:43 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden writes:

> in vcg graph language `view: normal_view' does not exist
> and to do that there should be a empty line.

Thanks for reporting that.  It should suffice to change get_view_str,
since the code already assumes G_VIEW == normal_view.
I installed this:

2005-01-27  Paul Eggert  <address@hidden>

        * src/vcg.c (get_view_str): Remove case for normal_view.
        Problem reported by address@hidden

--- vcg.c       16 Dec 2004 00:09:08 -0000      1.16
+++ vcg.c       27 Jan 2005 22:03:07 -0000      1.17
@@ -336,9 +336,10 @@ get_crossing_type_str (enum crossing_typ
 static const char *
 get_view_str (enum view view)
+  /* There is no way with vcg 1.30 to specify a normal view explicitly,
+     so it is an error here if view == normal_view.  */
   switch (view)
-    case normal_view:  return "normal_view";
     case cfish:                return "cfish";
     case pfish:                return "pfish";
     case fcfish:       return "fcfish";

reply via email to

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