mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/bison.simple (yyparse): Suppress warning `comparaison
between signed and unsigned'.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-07-08 Pascal Bart <pascal.bart@epita.fr>
|
||||
|
||||
* src/bison.simple (yyparse): Suppress warning `comparaison
|
||||
between signed and unsigned'.
|
||||
|
||||
2001-07-05 Pascal Bart <pascal.bart@epita.fr>
|
||||
|
||||
* src/getargs.h (raw_flag): Remove.
|
||||
|
||||
@@ -672,7 +672,7 @@ yyerrlab:
|
||||
count = 0;
|
||||
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
|
||||
for (x = (yyn < 0 ? -yyn : 0);
|
||||
x < (sizeof (yytname) / sizeof (char *)); x++)
|
||||
x < (int) (sizeof (yytname) / sizeof (char *)); x++)
|
||||
if (yycheck[x + yyn] == x)
|
||||
size += strlen (yytname[x]) + 15, count++;
|
||||
size += strlen ("parse error, unexpected `") + 1;
|
||||
@@ -688,7 +688,7 @@ yyerrlab:
|
||||
{
|
||||
count = 0;
|
||||
for (x = (yyn < 0 ? -yyn : 0);
|
||||
x < (sizeof (yytname) / sizeof (char *)); x++)
|
||||
x < (int) (sizeof (yytname) / sizeof (char *)); x++)
|
||||
if (yycheck[x + yyn] == x)
|
||||
{
|
||||
strcat (msg, count == 0 ? ", expecting `" : " or `");
|
||||
|
||||
Reference in New Issue
Block a user