diff --git a/test/ruby/test_yield.rb b/test/ruby/test_yield.rb index 85cff76263..927df054f0 100644 --- a/test/ruby/test_yield.rb +++ b/test/ruby/test_yield.rb @@ -96,17 +96,17 @@ class TestRubyYieldGen < Test::Unit::TestCase :f_block_arg => [['&', 'var']], :f_arg_item => [[:f_norm_arg], ['(', :f_margs, ')']], - :f_margs => [[:f_marg_head], - [:f_marg_head, ',', '*', :f_norm_arg], - [:f_marg_head, ',', '*', :f_norm_arg, ',', :f_marg], - [:f_marg_head, ',', '*'], - [:f_marg_head, ',', '*', ',', :f_marg], + :f_margs => [[:f_marg_list], + [:f_marg_list, ',', '*', :f_norm_arg], + [:f_marg_list, ',', '*', :f_norm_arg, ',', :f_marg_list], + [:f_marg_list, ',', '*'], + [:f_marg_list, ',', '*', ',', :f_marg_list], [ '*', :f_norm_arg], - [ '*', :f_norm_arg, ',', :f_marg], + [ '*', :f_norm_arg, ',', :f_marg_list], [ '*'], - [ '*', ',', :f_marg]], - :f_marg_head => [[:f_marg], - [:f_marg_head, ',', :f_marg]], + [ '*', ',', :f_marg_list]], + :f_marg_list => [[:f_marg], + [:f_marg_list, ',', :f_marg]], :f_marg => [[:f_norm_arg], ['(', :f_margs, ')']], :f_norm_arg => [['var']],