X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c1a0d7e076a2ff60b6ddba53831ed60277d6fac2..4196b9316cdb172ba10d118067f9befb993e6c0a:/data/yacc.c diff --git a/data/yacc.c b/data/yacc.c index 2b7a4a3a..dc2d58d6 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1115,7 +1115,10 @@ yyerrlab1: invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor" insists on the trailing semicolon. */ #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) + /* GNU C++ (as of version 3.2.1) does not allow attributes on labels. */ +# ifndef __cplusplus __attribute__ ((__unused__)); +# endif #endif ]b4_location_if([ yylerrsp = yylsp;