[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison bug.
From: |
James Harris |
Subject: |
bison bug. |
Date: |
Fri, 21 Dec 2001 07:57:24 -0800 (PST) |
The attached archive has a gammer "foo.y" that will breaks bison.
The error is reported by
assertion "found" failed: file "lalr.c", line 484
*** Signal 6
The version of bison is
bison (GNU Bison) 1.30
Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation,
Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
I used a perl script to generate the grammar, break_bison.pl, it should
help describe the grammar.
This isn't the only bug I have run across in bison, but I belive they are
all symptoms of the same bug. I belive a some internal variable is to
small. As you can see the number 256 rules is rather telling. 255 is
acceptable, 256 produces the bug.
On a side note where did the source for LR0.c come from? It has a GPL
license on it, but I have found the almost exact same source in the
FreeBSD distribution under the BSD license. FreeBSD cvs reports that it is
orignal and thus came from BSD-lite 4.4. If this source came from BSD isn't
it in violation of the BSD license? Doesnt it need the BSD copyright ??
If you need any more information or can answer my licensing question feel
free to contact me at address@hidden
break_bison.tgz
Description: application/tar-gz
- bison bug.,
James Harris <=
- Re: bison bug., Akim Demaille, 2001/12/22
- Re: bison bug., akim, 2001/12/29
- Re: bison bug., James Harris, 2001/12/29
- Re: bison bug., Akim Demaille, 2001/12/30
- Re: bison bug., Hans Aberg, 2001/12/30