mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
3e874eae07
commit
9ba43ab6d4
2 changed files with 6 additions and 3 deletions
|
@ -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>
|
Wed Feb 14 03:14:42 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* lib/uri/generic.rb (URI::Generic::userinfo): should support
|
* lib/uri/generic.rb (URI::Generic::userinfo): should support
|
||||||
|
|
|
@ -2334,10 +2334,8 @@ defined_expr(rb_iseq_t *iseq, LINK_ANCHOR *ret,
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
case NODE_LVAR:
|
case NODE_LVAR:
|
||||||
estr = "local-variable";
|
|
||||||
break;
|
|
||||||
case NODE_DVAR:
|
case NODE_DVAR:
|
||||||
estr = "local-variable(in-block)";
|
estr = "local-variable";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NODE_IVAR:
|
case NODE_IVAR:
|
||||||
|
|
Loading…
Reference in a new issue