alas, the workaround you give in your mail doesn't do the trick for pike 7.2...:
language.yacc:1604.3-1608.9: $4 of `block' has no declared type language.yacc:2483.3-2484.20: $5 of `cond' has no declared type language.yacc:2483.3-2484.34: $7 of `cond' has no declared type
that's what appears when I add the empty nonterminal inbetween the actions of the offending rules. Unfortunately, for now I _have_ to come up with some workaround until the Debian bison maintainer uploads the fixed package - I could use some help on that one, if you don't mind. TIA.
/ Marek Habersack (Grendel)
Previous text:
2002-10-18 13:12: Subject: Pike 7.2 (latest CVS) and GNU bison 1.50 - no go...
2002-10-13 Paul Eggert eggert@twinsun.com
Fix problem reported by Henrik Grubbstroem in <http://mail.gnu.org/pipermail/bug-bison/2002-October/001670.html>: "nonterm: { $$ = 123; } { $$ = $1; };" was wrongly rejected, because the Bison parser reads the second action before reducing the first one. * src/scan-gram.l (rule_length): New static var. Use it to keep track of the rule length in the scanner, since we can't expect the parser to be in lock-step sync with the scanner. (handle_action_dollar, handle_action_at): Use this var. * tests/actions.at (Exotic Dollars): Test for the problem.
/ Henrik Grubbström (Lysator)