🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Matthias Frei Fri, 09 Dec 1988 15:42
diff's bison <-> YACC
#1423
Author: Matthias Frei
Date: Fri, 09 Dec 1988 15:42
22 lines
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   |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads