Actually do error checking in parse_set