Greetings, I've been using Lemon for a small custom compiler project. I've used Bison before, and I very much prefer the way Lemon does things, there's just one feature I'm missing and haven't been able to find.
Bison generates a human readable error message on syntax errors, and when setting %error-verbose this message contains some nice extra information, e.g. "Unexpected token A, expected C or D". As far as I can see, Lemon does not generate human readable messages at all (except when ParseTrace is set, but then only to a stream and non-selectively). Now obviously I can generate the "Unexpected token A." part from the last token read, but for the rest I'd need access to the last follow set before the error. So I've been wondering if there's any halfway nice and clean solution for this, or if I'm maybe just missing an existing feature. Thank you, -- Markus Thiele _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users