X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a08460b08c364680e5b6643753236b407367d4ee..0ced3098fd97e1483b4ac938bdce99bfc7942539:/data/lalr1.cc?ds=sidebyside diff --git a/data/lalr1.cc b/data/lalr1.cc index c434c9bd..4fe3c2ad 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -573,6 +573,13 @@ b4_syncline([@oline@], [@ofile@])[ `---------------------------------------------------*/ yyerrorlab: +#ifdef __GNUC__ + /* Pacify GCC when the user code never invokes YYERROR and the label + yyerrorlab therefore never appears in user code. */ + if (0) + goto yyerrorlab; +#endif + state_stack_.pop (len_); semantic_stack_.pop (len_); location_stack_.pop (len_);