diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-04-17 15:13:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-04-17 15:13:07 +0000 |
commit | e546c7dc2e6ba86defa982131a333b6c53cd6c01 (patch) | |
tree | 2c495516e01dea85f928fef7da435a617687f0b1 | |
parent | 6afda795873be842a9aac5ab2a869b23156c58cb (diff) |
* eval.c: block_unique should be 1, not frame_unique.
[ruby-dev:28577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Tue Apr 18 00:11:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * eval.c: block_unique should be 1, not frame_unique. + [ruby-dev:28577] + Mon Apr 10 01:03:10 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * prec.c (prec_prec_f): documentation patch from @@ -755,7 +755,7 @@ struct SCOPE *ruby_scope; static struct FRAME *top_frame; static struct SCOPE *top_scope; -static unsigned long frame_unique = 1; +static unsigned long frame_unique = 0; #define PUSH_FRAME() do { \ struct FRAME _frame; \ @@ -797,7 +797,7 @@ struct BLOCK { #define BLOCK_LAMBDA 2 static struct BLOCK *ruby_block; -static unsigned long block_unique = 0; +static unsigned long block_unique = 1; #define PUSH_BLOCK(v,b) do { \ struct BLOCK _block; \ |