I'm running ply 2.5 and find a discrepancy between the implementation
and the documentation.

The documentation states that the precedence for the rule is taken
from the right-most TERMINAL.

But the code takes the precedence from the left-most TERMINAL.  (see
'if' statement on line 1346 of yacc.py).

If it matters, bison takes the precedence for the rule from the right-
most TERMINAL, suggesting that the documentation is correct and the
code is wrong?

Please advise on what you think the correct answer is.

Thanks in advance!

-bruce
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to