Red Hat Bugzilla – Bug 14619
byacc 1.9 fails to generate $default transitions for non-terminals
Last modified: 2008-05-01 11:37:56 EDT
Berkeley yacc reports syntax-errors on legal input with grammars that not
explicitely use declared tokens in rules. For details look at the bugreport
sent to www.freebsd.org under pr# 20172 (
Note that FreeBsd's current CVS version (and FreeBSD 4.0 distro) of byacc
is updated and has several other things fixed w.r.t. RedHat's distro
(notably some extra compatibility defines for bison interoperability).
However, the submitted bug remains I am told.
I've upgraded to the version in current FreeBSD CVS in the 1.9-17 package.
Erhm, I wrote that the bug remains in the current *BSD cvs tree. They only fixed
the defines YYEMPTY, YYLEX and they've fixed some compiler warnings. However,
they dod *not* change the code... Therefore, the bug remains.