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.