error productions in YACC/Bison (Jim Ertle)
Mon, 24 Aug 1992 08:52:26 GMT

          From comp.compilers

Related articles
error productions in YACC/Bison (1992-08-24)
Re: Error productions in YACC/Bison (1992-08-25)
Re: error productions in YACC/Bison (1992-08-27)
| List of all articles for this month |

Newsgroups: comp.compilers
From: (Jim Ertle)
Organization: University of Vermont -- Division of EMBA Computer Facility
Date: Mon, 24 Aug 1992 08:52:26 GMT
Keywords: yacc, errors, question, comment

Hi All,
        I've been doing some work with Bison, and I was wondering if
anybody has some pointers on placing error productions. With what I
am currently doing, the errors cascade in odd ways.
        Are there any good books on YACC/Bison that have chapters on error

James A. Ertle
UVM's EMBA Computer Facility
Burlington, Vt. USA
[I'm currently redoing the O'Reilly lex&yacc book, but the error handling
discussion still isn't as complete as I'd like. Does anyone have some good
examples of doing error recovery in yacc? Mostly you see variants of the
simple examples in Johnson's original paper. BTW, many old versions of AT&T
yacc have a bug that makes error recovery fail. See message 92-02-049. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.