> Hi Rod,
>
> Dave said in a previous post that this is indeed a bug in PLY-3 and
> will be fixed in the next release.

Thank you. I noticed that only after posting my message.
Sorry about the duplication.

BTW, I had to decorate my lexer with some data structure that I needed
available in the parser productions.
I am using it as p.lexer.some_decoration.

Any other recommended way to do this?

How about adding a parameter to yacc.parse(userdata=...), so that
p.userdata would be available in parser productions ?

cheers,
Rod


--~--~---------~--~----~------------~-------~--~----~
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