gcc -Wswitch-default. Problem reported by twlevo@xs4all.nl.
2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
+ * data/glr.c (yyresolveValue): Add default case to pacify
+ gcc -Wswitch-default. Problem reported by twlevo@xs4all.nl.
+
* NEWS: Document when yyparse started to return 2.
* doc/bison.texinfo (Parser Function): Document when yyparse
returns 2.
yybest = yyp;
yymerge = yyfalse;
break;
+ default:
+ /* This cannot happen so it is not worth a YYASSERT (false),
+ but some compilers complain if the default case is
+ omitted. */
+ break;
}
yypp = &yyp->yynext;
}