[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don't let %prec take a nonterminal
From: |
Joel E. Denny |
Subject: |
Re: Don't let %prec take a nonterminal |
Date: |
Fri, 17 Nov 2006 15:20:21 -0500 (EST) |
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.