diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-12-04 11:58:51 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-12-04 14:50:46 +0000 |
| commit | 465a86c3417d2936c311d9571aa9b6494a83eed8 (patch) | |
| tree | 5b24d42c05cef2e5c8a5541b8bfb49d3cd0d47b5 /include/ruby/internal/encoding/encoding.h | |
| parent | 8099e9d2d1b47ef4ce2fa184bea079a270ceb466 (diff) | |
[ruby/prism] Fix `%Q` with newline delimiter and heredoc interpolation
The lexer did not jump to the `heredoc_end`, causing the heredoc end delimiter
to be parsed twice.
Normally the heredocs get flushed when a newline is encountered. But because
the newline is part of the string delimiter, that codepath is not taken.
Fixes [Bug #21758]
https://github.com/ruby/prism/commit/7440eb4b11
Diffstat (limited to 'include/ruby/internal/encoding/encoding.h')
0 files changed, 0 insertions, 0 deletions
