parse_percent
if (parse_percent(&pcnt, str) < 0)
if ((parse_percent(&start_pcnt, start_str) != 0) ||
(parse_percent(&end_pcnt, end_str) != 0)) {