> This isn't simple, as ply.yacc calls ply.lex.input() itself, and > passing an argument through them doesn't seem clean.
So, a global variable would solve this problem. > I agree with Dave on the flexibility matter. Since it's easy to reset > the line manually when required, I think the current implementation is > just fine. If either way can be justified and if allowing user to choose is simple to implemented, why not do it? Cheers, Franck --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
