bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison 1.30e


From: Hans Aberg
Subject: Re: Bison 1.30e
Date: Mon, 26 Nov 2001 19:55:09 +0100

At 18:11 +0100 2001/11/26, Akim Demaille wrote:
>Quizz of the week: is this going to be 1.31?...

I think it's gonna be 1.30f soon this week... :-)

>  ftp://alpha.gnu.org/gnu/bison/bison-1.30e.tar.gz   (667 kB)

I get the error:
Error   : function has no prototype
files.c line 149   error (2, errno, _("cannot open file `%s'"), name);

For some reason, this function has been removed from complain.c and
complain.h, but not all its uses.

As for the rule line numbers, I get:

1.30c:
#if YYDEBUG != 0
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const short yyrline[] =
{
       0,    80,    82,    84,    86,    87,    88,    89,    90,    91,
      97,   104,   107,   109,   114,   116,   118,   123,   128,   134,
     136,   137,   144,   145,   152,   160,   162,   163,   172,   173,
     176,   177,   187,   196,   197,   206,   207,   210,   213,   214,
     217,   220,   222,   224,   233,   242,   245
};
#endif

1.30e:
#if YYDEBUG != 0
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const short yyrline[] =
{
       0,    80,    82,    84,    86,    87,    88,    89,    90,    91,
      97,   104,   107,   109,   114,   116,   118,   123,   128,   134,
     136,   137,   144,   145,   152,   160,   160,   163,   163,   173,
     173,   177,   187,   187,   197,   197,   207,   207,   207,   214,
     214,   214,   222,   224,   224,   242,   242
};
#endif

One can see here that in 1.30e several rules get the same number, which is
not true in the source. But it is better than in 1.30ea (the one you did
not release), where the numbers actually diminished.

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]