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

update syntax (f_marg_list).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-08-09 06:15:44 +00:00
parent fda5eeae72
commit fb20d67ff5

View file

@ -96,17 +96,17 @@ class TestRubyYieldGen < Test::Unit::TestCase
:f_block_arg => [['&', 'var']], :f_block_arg => [['&', 'var']],
:f_arg_item => [[:f_norm_arg], :f_arg_item => [[:f_norm_arg],
['(', :f_margs, ')']], ['(', :f_margs, ')']],
:f_margs => [[:f_marg_head], :f_margs => [[:f_marg_list],
[:f_marg_head, ',', '*', :f_norm_arg], [:f_marg_list, ',', '*', :f_norm_arg],
[:f_marg_head, ',', '*', :f_norm_arg, ',', :f_marg], [:f_marg_list, ',', '*', :f_norm_arg, ',', :f_marg_list],
[:f_marg_head, ',', '*'], [:f_marg_list, ',', '*'],
[:f_marg_head, ',', '*', ',', :f_marg], [:f_marg_list, ',', '*', ',', :f_marg_list],
[ '*', :f_norm_arg], [ '*', :f_norm_arg],
[ '*', :f_norm_arg, ',', :f_marg], [ '*', :f_norm_arg, ',', :f_marg_list],
[ '*'], [ '*'],
[ '*', ',', :f_marg]], [ '*', ',', :f_marg_list]],
:f_marg_head => [[:f_marg], :f_marg_list => [[:f_marg],
[:f_marg_head, ',', :f_marg]], [:f_marg_list, ',', :f_marg]],
:f_marg => [[:f_norm_arg], :f_marg => [[:f_norm_arg],
['(', :f_margs, ')']], ['(', :f_margs, ')']],
:f_norm_arg => [['var']], :f_norm_arg => [['var']],