summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--compile.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b2851fbb52..3d1a4ff130 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Feb 14 08:46:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * compile.c (defined_expr): no longer distinguish ordinary local
+ variables and in-block local variables in defined? value.
+
Wed Feb 14 03:14:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/uri/generic.rb (URI::Generic::userinfo): should support
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: