Adding token and index values to parser_error.