X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/895789c6737e95435094d8a3e9e972379c9f81a9..05ac60f348b722ec6157cf57c31d8165466ec3ec:/data/lalr1.cc diff --git a/data/lalr1.cc b/data/lalr1.cc index ed825075..c613b3c8 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -1,6 +1,8 @@ m4_divert(-1) + # C++ skeleton for Bison -# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. + +# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -677,6 +679,7 @@ yyreduce: switch (yyn_) { ]b4_actions[ + default: break; } ]/* Line __line__ of lalr1.cc. */ @@ -747,12 +750,11 @@ yyerrlab: `---------------------------------------------------*/ yyerrorlab: -#ifdef __GNUC__ - /* Pacify GCC when the user code never invokes YYERROR and the label - yyerrorlab therefore never appears in user code. */ - if (0) + /* Pacify compilers like GCC when the user code never invokes + YYERROR and the label yyerrorlab therefore never appears in user + code. */ + if (false) goto yyerrorlab; -#endif yyerror_range_[0] = yylocation_stack_[yylen_ - 1]; yypop_ (yylen_);