aaditmshah/lexer — pull request #12 by jsmouret (2014-12-23 08:07:14+00:00)
Title: Reset tokens when changing input.

If a parse failed and a new input is fed to the lexer, leftover tokens from the previous input are returned, which is not desired.