summaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-14 00:08:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-14 00:08:45 +0000
commit5143f3f1555fe7cf256f767c886f84b2e913e161 (patch)
tree7c75aa56aaf5fad686a7e2dc8744114bf9d97830 /compile.c
parent21fe44daf4e58cf82ba9745ab6c6fe80f5428cf3 (diff)
downloadruby-5143f3f1555fe7cf256f767c886f84b2e913e161.tar.gz
ruby-5143f3f1555fe7cf256f767c886f84b2e913e161.tar.xz
ruby-5143f3f1555fe7cf256f767c886f84b2e913e161.zip
* compile.c (defined_expr): no longer distinguish ordinary local
variables and in-block local variables in defined? value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/compile.c b/compile.c
index 06446bb36..514398565 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: