alex/rply — pull request #10 by ilmarga (2013-04-16 22:58:45+00:00)
Title: SourcePosition for Lexer

Hi,

this includes a different approach on deducing the lineno/colno information based on counting the number of breaklines since the last one. The tests are an extension of the ones provided by @olasd.

I also added some __repr__ functions to both the LexerStream and SourcePosition.