From fb20d67ff5b7966b5203d4ece1bc70a03ed51980 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 9 Aug 2007 06:15:44 +0000 Subject: [PATCH] update syntax (f_marg_list). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_yield.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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']],