From: Paul Eggert Date: Thu, 27 Jan 2005 22:03:07 +0000 (+0000) Subject: (get_view_str): Remove case for normal_view. X-Git-Tag: BISON-2_1~190 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/a8999f947d153438a250128789cef4d2449069d9 (get_view_str): Remove case for normal_view. --- diff --git a/src/vcg.c b/src/vcg.c index 394d0a91..e76d49b2 100644 --- 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";