summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-04-17 15:13:07 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-04-17 15:13:07 +0000
commit0ac646d4bc0adf8608d49f34da23a97f970b3a4e (patch)
tree2c495516e01dea85f928fef7da435a617687f0b1 /eval.c
parente97404f6d12f5e5c146c82e0995b768f57fc6342 (diff)
downloadruby-0ac646d4bc0adf8608d49f34da23a97f970b3a4e.tar.gz
ruby-0ac646d4bc0adf8608d49f34da23a97f970b3a4e.tar.xz
ruby-0ac646d4bc0adf8608d49f34da23a97f970b3a4e.zip
* eval.c: block_unique should be 1, not frame_unique.
[ruby-dev:28577] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index eac39bc54..70a64443f 100644
--- a/eval.c
+++ b/eval.c
@@ -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; \