From: Paul Eggert Date: Thu, 2 Jan 2003 23:58:42 +0000 (+0000) Subject: (yyerrlab1): Append `;' after attribute, to X-Git-Tag: BISON-2_0~455 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f96e75a64e54e6083c9cbadf951a451595badf17;p=platform%2Fupstream%2Fbison.git (yyerrlab1): Append `;' after attribute, to pacify the buggy "smart preprocessor" in MacOS 10.2.3. Bug reported by Nelson H. F. Beebe. --- diff --git a/data/yacc.c b/data/yacc.c index a9bed9d..18d3c5d 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1112,9 +1112,10 @@ yyerrlab: yyerrlab1: /* Suppress GCC warning that yyerrlab1 is unused when no action - invokes YYERROR. */ + invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor" + insists on the trailing semicolon. */ #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) - __attribute__ ((__unused__)) + __attribute__ ((__unused__)); #endif ]b4_location_if([ yylerrsp = yylsp;