From 9ba43ab6d48968eaced9b0452e6f6bd45ddee7fa Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 14 Feb 2007 00:08:45 +0000 Subject: * compile.c (defined_expr): no longer distinguish ordinary local variables and in-block local variables in defined? value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 06446bb36d..514398565a 100644 --- a/compile.c +++ b/compile.c @@ -2334,10 +2334,8 @@ defined_expr(rb_iseq_t *iseq, LINK_ANCHOR *ret, /* variables */ case NODE_LVAR: - estr = "local-variable"; - break; case NODE_DVAR: - estr = "local-variable(in-block)"; + estr = "local-variable"; break; case NODE_IVAR: -- cgit v1.2.3