diff options
| author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2023-12-01 23:35:52 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-12-01 15:15:01 +0000 |
| commit | 417d7004062de3360d0ab104bc21c5e3b40eff86 (patch) | |
| tree | 179bc292746d29695f6ad011dd793ca7c1a39695 /include/ruby/internal/static_assert.h | |
| parent | 0e599336a20d698d2d7f62ed6db234124260e2cd (diff) | |
[ruby/prism] Improve to handle unterminated strings
Fix https://github.com/ruby/prism/pull/1946
This fixes to set an error position for unterminated strings to the
opening delimiters. Previously, the error position was set to the end
of the delimiter.
The same fix applies to other string-like literals.
Additionally, this fixes https://github.com/ruby/prism/pull/1946; that is, it adds the last part of the
string even though the string literal does not terminate.
https://github.com/ruby/prism/commit/c1240baafd
Diffstat (limited to 'include/ruby/internal/static_assert.h')
0 files changed, 0 insertions, 0 deletions
