Made the backtracking rd-parser use iterators instead of lists