akr
|
9e5d0d861f
|
sentence.rb documented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-18 17:04:06 +00:00 |
|
akr
|
7017b63b81
|
* test/ruby/test_yield.rb (TestYieldGen): relax array size check
in nested parameters.
[ruby-dev:31485]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-18 10:04:24 +00:00 |
|
akr
|
88e1fec393
|
lambda yield emulator refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-18 06:31:04 +00:00 |
|
akr
|
f62fff5f41
|
* test/ruby/test_yield.rb (TestYieldGen): add test for yielding to
lambda using lambda parameter passing emulator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-18 03:44:28 +00:00 |
|
akr
|
c710449a85
|
fix "&" handling in block parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-16 12:07:29 +00:00 |
|
akr
|
9a26bd3f57
|
* test/ruby/sentence.rb: Sentence class implemented
based on sentgen.rb
* test/ruby/sentgen.rb: removed.
* test/ruby/test_assignment.rb: use sentence.rb.
* test/ruby/test_yield.rb: block parameter passing emulator
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-16 10:21:16 +00:00 |
|
akr
|
aca2aa2457
|
TestRubyYieldGen#test_yield needs too long time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-15 05:17:06 +00:00 |
|
akr
|
fb20d67ff5
|
update syntax (f_marg_list).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-09 06:15:44 +00:00 |
|
akr
|
cc317d9208
|
variable renaming refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-08 04:45:15 +00:00 |
|
akr
|
7bc137942d
|
add test using sentgen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-06 08:39:01 +00:00 |
|
akr
|
50e22262fd
|
revert variable renaming. [ruby-dev:31001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-07-04 06:56:16 +00:00 |
|
ko1
|
afb1901848
|
* hash.c: exchange semantics of Hash#each and Hash#each_pair.
pointed out by [ruby-dev:30997].
* test/ruby/test_iterator.rb: ditto.
* test/ruby/test_yield.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-06-15 04:25:07 +00:00 |
|
ko1
|
7567fbf080
|
* vm.c (th_yield_setup_args): |v| should work as |v,|.
ex) def m;yield 1, 2; end; m{|v| p v} #=> 1
* parse.y: apply above change for "for" statement.
* test/ruby/test_assignment.rb: ditto
* test/ruby/test_basicinstructions.rb: ditto.
* test/ruby/test_iterator.rb: ditto.
* test/ruby/test_yield.rb: ditto.
* compile.c (iseq_compile_each): fix debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-06-15 03:27:33 +00:00 |
|
aamine
|
bd3ee06295
|
* test/ruby/test_yield.rb: new test.
* yarvtest/test_yield.rb: removed (moved to test_yield.rb).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-02-23 09:38:08 +00:00 |
|