Fix ranges for peg parsing and parse collection literals.