From 9b972310fafc0126ff8c27bdc514808dacea8fcc Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Tue, 6 Jul 2021 18:23:01 +0200 Subject: [ruby/racc] Add missing check for rb_block_call() * It used to be hardcoded since 0affbf9d2c7c5c618b8d3fe191e74d9ae8ad22fc but got removed in 23abf3d3fb82afcc26d35769f0dec59dd46de4bb * This means that since that second commit, rb_iterate() was used unintentionally. https://github.com/ruby/racc/commit/8816ced525 --- ext/racc/cparse/extconf.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/racc/cparse/extconf.rb') diff --git a/ext/racc/cparse/extconf.rb b/ext/racc/cparse/extconf.rb index 3b4f594b9d..18c5689ad8 100644 --- a/ext/racc/cparse/extconf.rb +++ b/ext/racc/cparse/extconf.rb @@ -3,6 +3,7 @@ require 'mkmf' +have_func('rb_block_call') have_func('rb_ary_subseq') create_makefile 'racc/cparse' -- cgit v1.2.3