Skip to content

Commit

Permalink
Revert assigns used in ECR templates
Browse files Browse the repository at this point in the history
  • Loading branch information
veelenga committed May 8, 2018
1 parent 5e88918 commit b75a895
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/generate_unicode_data.cr
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,11 @@ body.each_line do |line|
end

downcase_ranges = case_ranges entries, &.downcase
downcase_one_ranges, _ = downcase_ranges.partition { |r| r.delta == 1 }
downcase_one_ranges, downcase_ranges = downcase_ranges.partition { |r| r.delta == 1 }

alternate_ranges = alternate_ranges(downcase_one_ranges)

casefold_ranges = case_ranges entries, &.casefold

upcase_ranges = case_ranges entries, &.upcase
upcase_ranges.select! { |r| r.delta != -1 }
Expand Down

0 comments on commit b75a895

Please sign in to comment.