bug-bison
[Top][All Lists]
Advanced

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

Re: bison bug.


From: akim
Subject: Re: bison bug.
Date: Sat, 29 Dec 2001 15:00:36 +0100
User-agent: Mutt/1.3.24i

On Fri, Dec 28, 2001 at 03:09:46PM +0100, Hans Aberg wrote:
> At 12:37 +0100 2001/12/28, Hans Aberg wrote:
> >However, reader.c, packsymbols(), has the lines:
> >  max_user_token_number = 256;
> >  last_user_token_number = 256;
> >
> >Perhaps it has something with that to do: If I change these lines to:
> >  max_user_token_number = 256;
> >  last_user_token_number = 255;
> >I instead get the
> >Error   : Bison Compiler-Compiler
> >foo.y line 1283   tokens error and foo_0 both assigned number 256
> 
> With this change, I always get the error, also for other grammars, so the
> proposed bug fix is not correct. But it is clear that Bison has
> max_user_token_number limit, but evidently, it does not handle it correctly.

I don't know what grammar you are referring to, but his problem is an
overflow of nitems.



reply via email to

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