Re: [perl #37399] [PATCH] fix imcc tests with bison >= 1.75c

2005-10-10 Thread Joshua Hoblitt
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.*/ >

Re: [perl #37399] [PATCH] fix imcc tests with bison >= 1.75c

2005-10-10 Thread Leopold Toetsch
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 con

Re: [perl #37399] [PATCH] fix imcc tests with bison >= 1.75c

2005-10-10 Thread Joshua Hoblitt
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 specifie

Re: [perl #37399] [PATCH] fix imcc tests with bison >= 1.75c

2005-10-10 Thread Leopold Toetsch
Joshua Hoblitt (via RT) wrote: According to the Bison Changlog, the error string "parse error" was changed to "syntax error" in bison 1.75c. I haven't tried that version but can confirm that it has changed in 1.875. Or: unify the printed message in IMCC_fataly Or: as these are regexen anyway