Project

General

Profile

Actions

Feature #19068

closed

Upgrades required Bison version for development

Added by yui-knk (Kaneko Yuichiro) about 2 years ago. Updated about 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:110383]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0