Article View: gnu.utils.bug
Article #1423diff's bison <-> YACC
From: Matthias Frei
Date: Fri, 09 Dec 1988 15:42
Date: Fri, 09 Dec 1988 15:42
22 lines
1172 bytes
1172 bytes
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 |
Technical Details
Message-ID:
<212@rubmez.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!mcvax!unido!rubmez!freiShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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