From f96e75a64e54e6083c9cbadf951a451595badf17 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Jan 2003 23:58:42 +0000 Subject: [PATCH] (yyerrlab1): Append `;' after attribute, to pacify the buggy "smart preprocessor" in MacOS 10.2.3. Bug reported by Nelson H. F. Beebe. --- data/yacc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/yacc.c b/data/yacc.c index a9bed9d1..18d3c5d4 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; -- 2.45.2