whitequark / parser

A Ruby parser.
Other
1.59k stars 199 forks source link

+ ruby31.y: accept forward arg without parentheses. #839

Closed iliabylich closed 2 years ago

iliabylich commented 2 years ago

This commit tracks upstream commit ruby/ruby@aa7c4c3.

Also there's a change to Context API that caused a massive rewrite in all grammars. However, it doesn't affect any logic before 3.1, it's mostly a refactoring.

Closes https://github.com/whitequark/parser/issues/837.

iliabylich commented 2 years ago

Tested on a corpus of 5476 files with 944280 LOC, there's no diff between this branch and master. Merging.