From: "Eregon (Benoit Daloze)" Date: 2022-11-15T14:52:50+00:00 Subject: [ruby-core:110765] [Ruby master Feature#19068] Upgrades required Bison version for development Issue #19068 has been updated by Eregon (Benoit Daloze). @yui-knk Just installing bison is not enough on macOS: https://github.com/ruby/ruby-dev-builder/actions/runs/3471482135/jobs/5801034797 So I think you need to make PRs to all Ruby installers otherwise Ruby 3.2 won't build anymore on macOS. This is quite unfortunate, IMHO it might be reason enough to revert this change, because it's going to be messy to deal with this in every script building Ruby. ---------------------------------------- Feature #19068: Upgrades required Bison version for development https://bugs.ruby-lang.org/issues/19068#change-100109 * Author: yui-knk (Kaneko Yuichiro) * Status: Closed * Priority: Normal ---------------------------------------- # Background Printing node type, e.g. `NODE_LIT`, for `yydebug` option is helpful when developing parse.y. Before: ``` Reducing stack by rule 639 (line 5062): $1 = token "integer literal" (1.0-1.1: 1) -> $$ = nterm simple_numeric (1.0-1.1: ) ``` After: ``` Reducing stack by rule 641 (line 5078): $1 = token "integer literal" (1.0-1.1: 1) -> $$ = nterm simple_numeric (1.0-1.1: NODE_LIT) ``` # Consideration IIRC, CRuby tries to keep it be able to build with old Bison, I guess this is because default Bison for Mac is very old (might be 2.3). However Bison is still developed and new version has new feature. Therefore I want to confirm it is able to update Bison version required for CRuby development. # Implementation https://github.com/ruby/ruby/pull/6579 -- https://bugs.ruby-lang.org/ Unsubscribe: