summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2026-02-11 13:03:49 +0100
committergit <svn-admin@ruby-lang.org>2026-02-12 14:51:03 +0000
commited113c556bb2bba97fa57f81f01400ccaf24473a (patch)
tree489172284a11d05aef6546861189727c2278c80d /test/ruby
parentdca8d9a6aa9c590a5707959d2c211a8273f7bc06 (diff)
[ruby/prism] Fix lexing for unterminated strings/heredocs etc.
When we hit EOF and still have lex modes left, it means some content was unterminated. Heredocs specifically have logic that needs to happen when the body finished lexing. If we don't reset the mode back to how it was before, it will not continue lexing at the correct place. https://github.com/ruby/prism/commit/8f35e8ef25
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions