diff options
author | Kevin Newton <[email protected]> | 2024-02-05 15:41:46 -0500 |
---|---|---|
committer | git <[email protected]> | 2024-02-07 16:54:34 +0000 |
commit | aad3c36bdfe68c429cf612542a7eb3c94c17c483 () | |
tree | 70cff5280c6d97d131501a9e8dc774c33ac3e31c /lib/prism/lex_compat.rb | |
parent | aed052ce9d9eeeccecb12c444aa7327d1e078a51 (diff) |
[ruby/prism] Support for Ruby 2.7
https://.com/ruby/prism/commit/1a15b70a8e
-rw-r--r-- | lib/prism/lex_compat.rb | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -860,7 +860,7 @@ module Prism previous = [] results = [] - Ripper.lex(source, raise_errors: true).each do |token| case token[1] when :on_sp # skip @@ -886,6 +886,21 @@ module Prism results end end private_constant :LexRipper |