summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-15 03:27:33 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-15 03:27:33 +0000
commit8f5ac0c75ad3663bbe410946f3be9cb114e99f6b (patch)
treeaaa825008c041b6dd7cb0ee51dd9f59cfcca8113 /ChangeLog
parent54858510ea4ff42a72a35b1a63e9a7e6bc9399c1 (diff)
downloadruby-8f5ac0c75ad3663bbe410946f3be9cb114e99f6b.tar.gz
ruby-8f5ac0c75ad3663bbe410946f3be9cb114e99f6b.tar.xz
ruby-8f5ac0c75ad3663bbe410946f3be9cb114e99f6b.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@12544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b9b436066..21555328a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+Fri Jun 15 12:25:33 2007 Koichi Sasada <ko1@atdot.net>
+
+ * 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.
+
Fri Jun 15 12:22:10 2007 Koichi Sasada <ko1@atdot.net>
* eval.c (ruby_finalize_1): rb_thread_t#errinfo should be clear with