From: Paul Eggert Date: Mon, 14 Oct 2002 06:55:10 +0000 (+0000) Subject: * data/yacc.c (yyparse): Rewrite to avoid "comparison is always X-Git-Tag: BISON-1_75~12 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/5038f418c13f97e8cf7a6a598eaa4c03f274abe3 * data/yacc.c (yyparse): Rewrite to avoid "comparison is always true due to limited range of data type" warning from GCC. --- diff --git a/ChangeLog b/ChangeLog index c61beda2..5f48a430 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-10-13 Paul Eggert + * data/yacc.c (yyparse): Rewrite to avoid "comparison is always + true due to limited range of data type" warning from GCC. + * data/c.m4 (b4_token_defines): Protect against double-inclusion by wrapping enum yytokentype's definition inside #ifndef YYTOKENTYPE. This undoes a bug I introduced on 2002-10-12.