Earlopain 16863f2ec1 [ruby/prism] Decouple ripper translator from ripper library
Ripper exposes Ripper::Lexer:State in its output, which is a bit of a problem. To make this work, I basically copy-pasted the implementation.

I'm unsure if that is acceptable and added a test to make sure that these values never go out of sync.
I don't imagine them changing often, prism maps them 1:1 for its own usage.

This also fixed the shim by accident. `Ripper.lex` went to `Translation::Ripper.lex` when it should have been the original. Removing the need for the original resolves that issue.

https://github.com/ruby/prism/commit/2c0bea076d
2026-01-08 18:35:26 +00:00
..
2025-12-24 11:21:11 +09:00
2025-12-15 17:15:25 +00:00
2025-12-18 16:46:29 +09:00
2025-10-31 00:14:23 +00:00
2025-10-29 07:34:58 +00:00
2025-11-10 09:25:45 +00:00
2025-12-10 07:08:05 +00:00
2025-12-14 17:35:26 -05:00
2025-12-10 06:43:06 +00:00
2025-12-26 11:00:51 +09:00
2025-12-17 15:47:43 +09:00
2025-12-17 15:47:43 +09:00
2025-11-10 10:03:07 +00:00