On Mon, Oct 10, 2005 at 01:51:54PM -0700, Leopold Toetsch via RT wrote: > > On Oct 10, 2005, at 21:45, Joshua Hoblitt wrote: > > > On Mon, Oct 10, 2005 at 06:19:12PM +0200, Leopold Toetsch wrote: > >> Joshua Hoblitt (via RT) wrote: > >> > >>> -/^error:imcc:parse error, unexpected SHIFT_LEFT.*/ > >>> +/^error:imcc:syntax error, unexpected SHIFT_LEFT.*/ > >> > >> ... just test for (parse|syntax) > > > > I considered that but "syntax error" is specified by POSIX. Doesn't > > really matter as longer as it will work with newer versions of Bison. > > I have no problem updating to a never bison version. Just OS/X is a bit > confusing: > > $ bison --version > GNU Bison version 1.28 > > So if more folks can confirm that we want/need >= 1.75c, let's do it.
I wouldn't really classify it as a 'need' but last release in the Bison 1.x series was 3 years ago. It would be 'nice' to work with reasonably modern tools. I've decided that I don't like accepting '(parse|syntax)' in the error string as that could end up forcing end-user tests to accept both as well. Lets either require Bison >= 1.75c or explicitly declare the error messages. Cheers, -J --
pgp0J3BRCFcb5.pgp
Description: PGP signature