Re: [sqlite] Fwd: Lemon: Simple recursive rule causes assertion failed: stateno <= YY_SHIFT_COUNT

2016-10-08 Thread Conor O
> Absolutely! I've simplified some source code and attached two files testlex.c > and testpar.c. > I'm not sure if the mailing list strips out attachments I guess it does strip attachments. For the benefits of the mailing list, I'll inline the code (assuming gmail doesn't mess it up more

Re: [sqlite] Fwd: Lemon: Simple recursive rule causes assertion failed: stateno <= YY_SHIFT_COUNT

2016-10-08 Thread Conor O
On 8 October 2016 at 14:31, Richard Hipp <d...@sqlite.org> wrote: > On 10/8/16, Conor O <conor.scorp...@gmail.com> wrote: > > Assertion failed: stateno <= YY_SHIFT_COUNT, file testpar.c, line 512 > > > > I'm trying to figure out if this is a bug or some

[sqlite] Fwd: Lemon: Simple recursive rule causes assertion failed: stateno <= YY_SHIFT_COUNT

2016-10-08 Thread Conor O
I've been experimenting with some simple rules as I get used to the Lemon parser. This very simple parser file works correctly. A database consists of an entrylist which consists of any number of commands: database ::= entrylist. { printf("Constructed the root\n"); } entrylist ::=