1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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
This commit is contained in:
Benoit Daloze 2021-07-06 18:23:01 +02:00 committed by Nobuyoshi Nakada
parent 23c4b93e54
commit 9b972310fa

View file

@ -3,6 +3,7 @@
require 'mkmf'
have_func('rb_block_call')
have_func('rb_ary_subseq')
create_makefile 'racc/cparse'