I don't recall, but I think an argument could be made either way for  
not resetting it.  For instance, you might want to do some kind of  
incremental feed-parsing into the lexer.  Open to ideas.

Cheers,
Dave

On Mar 24, 2009, at 3:12 PM, Pedro Lopes wrote:

>
> I'm reusing the parser to parse multiple files, and in doing so
> noticed that the Lexer.input() method does not reset the line number
> (Lexer.lineno). Is this intentional or a bug?
>
> Pedro
> >


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