bug-bison
[Top][All Lists]
Advanced

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

Re: bison bug.


From: Hans Aberg
Subject: Re: bison bug.
Date: Fri, 28 Dec 2001 15:09:46 +0100

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.

  Hans Aberg
                  * Email: Hans Aberg <mailto:address@hidden>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>





reply via email to

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