summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2025-12-03 09:05:13 +0100
committergit <svn-admin@ruby-lang.org>2025-12-03 18:24:14 +0000
commited31a0caa88006afa507fd387e3f84ad8b8ddb00 (patch)
tree8ae1621e117aec25b2b3c64ba7c56cfea4d78d48 /include/ruby
parentf9cd94f17d6fef49f1ee5cbb8f66839f0d7a5db9 (diff)
[ruby/prism] Correctly handle line continuations in %w/i% interrupted by heredocs
See https://bugs.ruby-lang.org/issues/21756. Ripper fails to parse this, but prism actually also doesn't handle it correctly. When heredocs are used, even in lowercase percent arays there can be multiple `STRING_CONTENT` tokens. We need to concat them. Luckily we don't need to handle as many cases as in uppercase arrays where interpolation is allowed. https://github.com/ruby/prism/commit/211677000e
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions