On 5 Aug 2010, at 14:01, Sasan Forghani wrote:
So in any action for a production such as the expr production and specifically the expr : ( expr ) {some action}, specifying $<blIdentifier>$ will give expr its type.
Bison just implements a union, and the $<foo>$ and $<foo>k will select the foo field of tha union. So must be specified somehow, but the untyped default action $$ = $1 works, too, as the whole union is copied over.
_______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison