diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-01-15 23:24:05 +0100 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2025-03-18 13:36:53 -0400 |
| commit | a8adf5e006da03b8ccaa2bf900f4f077ca9888cf (patch) | |
| tree | e7e6994efa7806d708033ef13fbe81dcd5c36c37 /test/prism/ruby/ruby_parser_test.rb | |
| parent | fc14d3ac7d4fa14f568d2428b846f391ebdf0d62 (diff) | |
[ruby/prism] Further refine string handling in the parser translator
Mostly around newlines and line continuation.
* percent arrays need special backslash handling in the ast
* Fix offset issue for heredocs with many line continuations (used wrong variable as index access)
* More refined rules on when to simplify string tokens
* Handle line continuations in squiggly heredocs
* Correctly dedent squiggly heredocs with interpolation
* Consider `':foo:` and `%s[foo]` to not be interpolation
https://github.com/ruby/prism/commit/4edfe9d981
Diffstat (limited to 'test/prism/ruby/ruby_parser_test.rb')
0 files changed, 0 insertions, 0 deletions
