Updating the lexer interface