From: Paul Eggert Date: Sat, 8 Jan 2005 05:21:46 +0000 (+0000) Subject: (yyparse): Pacify non-GCC compilers about yyerrorlab X-Git-Tag: BISON-2_1~208 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/c7a65b99a6ee5095a752be24303856e31e9429cd?ds=inline (yyparse): Pacify non-GCC compilers about yyerrorlab being defined and not used. --- diff --git a/data/yacc.c b/data/yacc.c index 9ce6d276..bd2d2c28 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1,7 +1,8 @@ m4_divert(-1) -*- C -*- # Yacc compatible skeleton for Bison -# Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 + +# Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -1170,12 +1171,11 @@ yyerrlab: `---------------------------------------------------*/ yyerrorlab: -#ifdef __GNUC__ - /* Pacify GCC when the user code never invokes YYERROR and the label - yyerrorlab therefore never appears in user code. */ + /* Pacify compilers like GCC when the user code never invokes + YYERROR and the label yyerrorlab therefore never appears in user + code. */ if (0) goto yyerrorlab; -#endif ]b4_location_if([[ yyerror_range[0] = yylsp[1-yylen]; yylsp -= yylen;