From: "yui-knk (Kaneko Yuichiro)" Date: 2022-11-15T23:25:37+00:00 Subject: [ruby-core:110771] [Ruby master Feature#19068] Upgrades required Bison version for development Issue #19068 has been updated by yui-knk (Kaneko Yuichiro). Thanks for sharing. I think `brew install bison` is enough because the command install `bison@3.8` now. It seems your fix works well, https://github.com/ruby/ruby-dev-builder/commit/1cdfbf1ebb4d417d43f968b35a416fba5987a3f0. ---------------------------------------- Feature #19068: Upgrades required Bison version for development https://bugs.ruby-lang.org/issues/19068#change-100116 * 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: