mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-27 13:13:04 +00:00
(get_view_str): Remove case for normal_view.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/* VCG description handler for Bison.
|
/* 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.
|
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 *
|
static const char *
|
||||||
get_view_str (enum view view)
|
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)
|
switch (view)
|
||||||
{
|
{
|
||||||
case normal_view: return "normal_view";
|
|
||||||
case cfish: return "cfish";
|
case cfish: return "cfish";
|
||||||
case pfish: return "pfish";
|
case pfish: return "pfish";
|
||||||
case fcfish: return "fcfish";
|
case fcfish: return "fcfish";
|
||||||
|
|||||||
Reference in New Issue
Block a user