mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 15:38:23 +00:00
* data/glr.c (yyresolveValue): Add default case to pacify
gcc -Wswitch-default. Problem reported by [email protected].
This commit is contained in:
1 parent
b47dbebee5
commit
ae199bf10f
2 files changed
+8
No files matched your search
@@ -1674,6 +1674,11 @@ yyresolveValue (yySemanticOption* yyoptionList, yyGLRStack* yystack,
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user