reset the lexer each time the parser is invoked