diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-05-24 15:20:50 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-05-24 19:27:44 +0000 |
| commit | c7281e2d671cd57378630ce0f2a2db97fb12e365 (patch) | |
| tree | a19ff037f83a0a5f2d444a9ad65799ee1800e3d6 /lib | |
| parent | 9f71393fe47cfd6e063a63c1d5267400cbe44346 (diff) | |
[ruby/prism] Fix up ruby_parser string concat
https://github.com/ruby/prism/commit/4b06eae0df
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/prism/translation/ruby_parser.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prism/translation/ruby_parser.rb b/lib/prism/translation/ruby_parser.rb index fe08a493d6..ec458a3b63 100644 --- a/lib/prism/translation/ruby_parser.rb +++ b/lib/prism/translation/ruby_parser.rb @@ -875,6 +875,8 @@ module Prism else visited << result end + elsif result[0] == :dstr + visited.concat(result[1..-1]) else visited << result end |
