~singpolyma/dhall-ruby

55e5b1abad2c7e50feb1b11f522ab814fc946d59 — Stephen Paul Weber 1 year, 2 months ago 2b749ff
Normalize multiline string literal line endings
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/dhall/parser.rb
M lib/dhall/parser.rb => lib/dhall/parser.rb +1 -1
@@ 315,7 315,7 @@ module Dhall
		module SingleQuoteLiteral
			def value
				chunks = capture(:single_quote_continue).value.flat_map do |chunk|
					chunk.is_a?(String) ? chunk.chars : chunk
					chunk.is_a?(String) ? chunk.gsub(/\r\n/, "\n").chars : chunk
				end
				indent = Util.indent_size(chunks.join)