On Mon, 17 Jan 2005, Peter W. Draper wrote:
> Mark,
>
> I've made some modifications to ctag-y.y and ftag-y.y (moved yerrok out of
> the handle_error) and this seems to make SCB compile using code generated
> by byacc and bison -y. The make check looks OK, but you should probably
> have a play yourself.
OK, seems to be all right both in theory and in practice.
I've added a comment on what's going on to the .y files.
This is a workaround for a definite and easily-fixed bug in
(at least Cygwin) yacc though - will you make/have you made a Cygwin
bug report? If you've lost the minimal yacc source file I wrote to
demonstrate it I can probably find a Cygwin machine to reproduce it on.
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|