Current version "1.69" seems to be from circa 2014. SQLite version had since seen a lot of changes (https://www.sqlite.org/src/finfo?name=tool/lemon.c&m&ci=tip), in particular %token and %extra_context were introduced.
SQLite doesn't release an official tar for this, so it would be great if the maintainer updates the tar on their current host.
Created attachment 220790 [details]
Yeah, an update is long overdue. I've put lemon.c and lempar.c
from SQLite 3.34 release into .
Note that  is only available over ipv6 at the moment,
so some sort of a mirror would be really useful (previously
amdmi3@ provided such a mirror on his site; big thanks to
I'm also attaching a port update. Would be great if someone
would test it before comitting.
You can use me as an ipv4 mirror:
I've already posted the file there for you.
Hi, I can confirm that with this patch, plus adding the ipv4 mirror, I can build and install the newer version. However lemon segfaults with default arguments. I think it might not be finding the `lempar.c` at the default location. If I explicitly specify it with -T it works fine though.
Created attachment 220835 [details]
Thanks for the mirror, Chris.
And thanks for testing, Yakov. Does this version work better?
Yes, this works for me. Thank you Vitaly and Chris!
A commit references this bug:
Date: Fri Jan 22 11:10:09 UTC 2021
New revision: 562294
devel/lemon: Update to 3.34
Add LICENSE. According to  it is in the public domain.
Submitted by: Vitaly Magerya <email@example.com> (maintainer)
Reported by: Yakov Galka <firstname.lastname@example.org>