diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-12-03 09:05:13 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-12-03 18:24:14 +0000 |
| commit | ed31a0caa88006afa507fd387e3f84ad8b8ddb00 (patch) | |
| tree | 8ae1621e117aec25b2b3c64ba7c56cfea4d78d48 /include/ruby/ruby.h | |
| parent | f9cd94f17d6fef49f1ee5cbb8f66839f0d7a5db9 (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/ruby.h')
0 files changed, 0 insertions, 0 deletions
