(get_view_str): Remove case for normal_view.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jan 2005 22:03:07 +0000 (22:03 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jan 2005 22:03:07 +0000 (22:03 +0000)
src/vcg.c

index 394d0a91acbef15aa9f07e30116cd66927baedf0..e76d49b2674e93dd8b1c9f7d5a5fe0edd852cfc7 100644 (file)
--- a/src/vcg.c
+++ b/src/vcg.c
@@ -1,6 +1,6 @@
 /* VCG description handler for Bison.
 
-   Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
@@ -336,9 +336,10 @@ get_crossing_type_str (enum crossing_type crossing_type)
 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";