Reset tokens when changing input.

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