mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/glr.c (yyuserAction): Add "default: break;" case to pacify
gcc -Wswitch-default. * data/lalr1.cc (yy::]b4_parser_class_name[::parse): Likewise. * data/yacc.c (yyparse): Likewise.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2005-01-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* data/glr.c (yyuserAction): Add "default: break;" case to pacify
|
||||
gcc -Wswitch-default.
|
||||
* data/lalr1.cc (yy::]b4_parser_class_name[::parse): Likewise.
|
||||
* data/yacc.c (yyparse): Likewise.
|
||||
|
||||
2005-01-12 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* src/system.h (OUTPUT_EXT, TAB_EXT): Define only if not defined
|
||||
|
||||
@@ -737,6 +737,7 @@ yyuserAction (yyRuleNum yyn, int yyrhslen, yyGLRStackItem* yyvsp,
|
||||
switch (yyn)
|
||||
{
|
||||
b4_actions
|
||||
default: break;
|
||||
}
|
||||
|
||||
return yyok;
|
||||
|
||||
@@ -679,6 +679,7 @@ yyreduce:
|
||||
switch (yyn_)
|
||||
{
|
||||
]b4_actions[
|
||||
default: break;
|
||||
}
|
||||
|
||||
]/* Line __line__ of lalr1.cc. */
|
||||
|
||||
@@ -1033,6 +1033,7 @@ yyreduce:
|
||||
switch (yyn)
|
||||
]{
|
||||
b4_actions
|
||||
default: break;
|
||||
}
|
||||
|
||||
/* Line __line__ of yacc.c. */
|
||||
|
||||
Reference in New Issue
Block a user