From: "Eregon (Benoit Daloze)" Date: 2022-11-15T14:50:19+00:00 Subject: [ruby-core:110764] [Ruby master Feature#19068] Upgrades required Bison version for development Issue #19068 has been updated by Eregon (Benoit Daloze). This broke ruby-dev-builder: https://github.com/ruby/ruby-dev-builder/actions/runs/3464389673/jobs/5785863246 I'll try if `brew install bison` is enough. I hope it isn't needed to prepend bison to PATH, otherwise we'll need changes in all Ruby installers. For reference, the commit on GitHub: https://github.com/ruby/ruby/commit/f7db1affd10767d729866e95c02ffb26266829ab ---------------------------------------- Feature #19068: Upgrades required Bison version for development https://bugs.ruby-lang.org/issues/19068#change-100108 * 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: