File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -875,6 +875,8 @@ def visit_interpolated_x_string_node(node)
875875 else
876876 visited << result
877877 end
878+ elsif result [ 0 ] == :dstr
879+ visited . concat ( result [ 1 ..-1 ] )
878880 else
879881 visited << result
880882 end
Original file line number Diff line number Diff line change @@ -34,18 +34,15 @@ class RubyParserTest < TestCase
3434 seattlerb/masgn_colon3.txt
3535 seattlerb/messy_op_asgn_lineno.txt
3636 seattlerb/op_asgn_primary_colon_const_command_call.txt
37- seattlerb/parse_line_evstr_after_break.txt
3837 seattlerb/regexp_esc_C_slash.txt
3938 seattlerb/str_lit_concat_bad_encodings.txt
4039 unescaping.txt
4140 unparser/corpus/literal/kwbegin.txt
4241 unparser/corpus/literal/send.txt
43- unparser/corpus/semantic/dstr.txt
4442 whitequark/masgn_const.txt
4543 whitequark/ruby_bug_12402.txt
4644 whitequark/ruby_bug_14690.txt
4745 whitequark/space_args_block.txt
48- whitequark/string_concat.txt
4946 ]
5047
5148 # https://github.com/seattlerb/ruby_parser/issues/344
You can’t perform that action at this time.
0 commit comments