On Fri, 17 Nov 2006, Paul Eggert wrote:

> > +   Don't let %prec take a nonterminal.

> Thanks, please apply.

Done.

> Good catch.  It's strange that we've had this
> bug for so long.  (Solaris 10 yacc does the right thing already hee.)

I see that Solaris 10 yacc requires the symbol to be declared as a token 
elsewhere (in %token, %left, %right, or %nonassoc).  I suppose it doesn't 
matter.  There's not much point in using %prec sym if sym doesn't appear 
in a precedence declaration.


Reply via email to