Hello Hans
First of all thanks a lot for your help.
>You can change the skeleton file.
I have tried out and it works, but it seems like it doesn't make life
much easier. So I think I will stick to dummy actions for unneeded rules
and leave the skeleton alone.
By the way, just in case someone else is interested:
to implement this rule for the c++ skeleton of bison 2.4.1 it is located
in file lalr1.cc line 676ff:
switch (yyn)
{
]b4_user_actions[
default:
yyval.default_ptr = NULL;
// default_ptr must be a member in the %union command
break;
}
Best regards,
Michael
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison