(yyerrlab1): Append `;' after attribute, to
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jan 2003 23:58:42 +0000 (23:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jan 2003 23:58:42 +0000 (23:58 +0000)
pacify the buggy "smart preprocessor" in MacOS 10.2.3.
Bug reported by Nelson H. F. Beebe.

data/yacc.c

index a9bed9d..18d3c5d 100644 (file)
@@ -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;