Path: utzoo!utgpu!watmath!uunet!mcvax!unido!rubmez!frei From: frei@rubmez.UUCP (Matthias Frei) Newsgroups: gnu.utils.bug Subject: diff's bison <-> YACC Keywords: yacc bison errorhandling Message-ID: <212@rubmez.UUCP> Date: 9 Dec 88 15:42:52 GMT Distribution: gnu Organization: Ruhr Universitaet Bochum, W-Germany Lines: 22 Hallo netlanders, I've a great problem porting a yacc-grammar to bison. one point is the variable yynerrs, used by yacc and not supported from bison. Where do i have to declare and increment it ? The next point is error-handling. I introduced error-symbols in the grammar following kernighan & pike's rules. everything goes ok using yacc. But bison produces errors even in an error-free grammar, and can't recover from the first error produced by the first token of the inputfile. Did anybody have such problems ??? any comments gracefully accepted Matthias Frei -- Snail-mail: | E-Mail address: Microelectronics Center | UUCP frei@rubmez.uucp University of Bochum, W-Germany | (...uunet!unido!rubmez!frei) D-4630 Bochum, P.O.-Box 102143 |