Skip to content

Really fix #6158 ++#6688

Merged
enebo merged 2 commits intojruby:masterfrom
enebo:ripper
May 27, 2021
Merged

Really fix #6158 ++#6688
enebo merged 2 commits intojruby:masterfrom
enebo:ripper

Conversation

@enebo
Copy link
Member

@enebo enebo commented May 27, 2021

This not only fixes the origina 2 failures from ripper tests in MRI but it also fixes an obscure ruby syntax:

jruby -e 'a b(c d), :e do end'

We also now match MRI in leveraging lookhead knowledge to juddle cmdarg and cond stack state. This required adding a new feature to our postprocessed jay output. Our parser state methods now accept a yychar value which will be -1 if no lookahead happened or the value it last processed.

@enebo enebo added this to the JRuby 9.3.0.0 milestone May 27, 2021
@enebo enebo merged commit 1b9e7d5 into jruby:master May 27, 2021
@enebo enebo deleted the ripper branch March 4, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant