diff options
author | Benoit Daloze <eregontp@gmail.com> | 2021-07-06 18:23:01 +0200 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-18 20:38:34 +0900 |
commit | 9b972310fafc0126ff8c27bdc514808dacea8fcc (patch) | |
tree | 3a441f7b9ef3ea8dda77466c7b9cdd979d8c2d55 | |
parent | 23c4b93e54d96717607c9b067fa167c31f928ec9 (diff) |
[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
-rw-r--r-- | ext/racc/cparse/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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' |