On Thursday 26 October 2006 02:27, Joel E. Denny wrote:
> > Line 873 contains: | procoptionlist ',' {$$=$1;} procoption {$$=$1;}
> > $3 refers to the embedded action after the comma.
>
> In the last semantic action above, write:
>
> USE($3)
>
> > My grammar set a number of attributes in an allocated structure using $0
> > to reference the structure on the stack. The full rules are as follow
>
> How frequently do you do this in your grammar? In other words, how
> painful will it be to add the USE macro invocation to all those rules?
I could change the rule to
procoptionlist ',' {$$=$1;} procoption {$$=$3;}
and the warning will be gone.
Thanks for your suggestions
Henrik
_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison