mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[ruby/prism] Fix parser translator ast for heredoc with written newlines
Heredocs that contain "\\n" don't start a new string node.
61d9d3a15e
This commit is contained in:
parent
179e2cfa91
commit
c037f5a28c
2 changed files with 27 additions and 7 deletions
|
@ -65,14 +65,12 @@ module Prism
|
|||
"seattlerb/heredoc_with_extra_carriage_returns_windows.txt",
|
||||
"seattlerb/heredoc_with_only_carriage_returns_windows.txt",
|
||||
"seattlerb/heredoc_with_only_carriage_returns.txt",
|
||||
"seattlerb/parse_line_heredoc_hardnewline.txt",
|
||||
"seattlerb/pctW_lineno.txt",
|
||||
"seattlerb/regexp_esc_C_slash.txt",
|
||||
"unparser/corpus/literal/literal.txt",
|
||||
"unparser/corpus/semantic/dstr.txt",
|
||||
"whitequark/dedenting_interpolating_heredoc_fake_line_continuation.txt",
|
||||
"whitequark/parser_slash_slash_n_escaping_in_literals.txt",
|
||||
"whitequark/ruby_bug_11989.txt"
|
||||
]
|
||||
|
||||
# Not sure why these files are failing on JRuby, but skipping them for now.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue