From: Paul Eggert Date: Thu, 6 Oct 2005 07:17:21 +0000 (+0000) Subject: * data/c.m4 (yydestruct, yysymprint): X-Git-Tag: v2.3b~602 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/2a4647a32f3de7eda80133370b05cea9f72e5761?hp=2a4647a32f3de7eda80133370b05cea9f72e5761 * data/c.m4 (yydestruct, yysymprint): Use YYUSE instead of casting to void. * data/glr.c (YYUSE): New macro. (yyuserMerge, yyreportAmbiguity, yyreportSyntaxError): Use it instead of rolling our own. (YYLLOC_DEFAULT, YYCHK, YYDPRINTF, YY_SYMBOL_PRINT, YY_REDUCE_PRINT): (YYCHK1): Use /*CONSTCOND*/ to suppress lint warnings. * data/lalr1.cc (YYLLOC_DEFAULT, YY_SYMBOL_PRINT, YY_REDUCE_PRINT): (YY_STACK_PRINT): Use 'false' not '0'. (YYUSE): New macro. (yysymprint_, yydestruct_): Use it instead of rolling our own. * data/yacc.c (YYUSE): New macro. (YYCOPY, YYSTACK_RELOCATE, YYBACKUP, YYLLOC_DEFAULT): (YYDPRINTF, YY_SYMBOL_PRINT, YY_STACK_PRINT, YY_REDUCE_PRINT): (yyerrorlab): Use /*CONSTCOND*/ to suppress lint warnings. ---