diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-11 10:03:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-11 10:03:01 +0000 |
commit | 5527b3b961a76f2de03a5e42b80a99d8f9b44bdf (patch) | |
tree | 5ff49695caf66116c44adbd1a331e53eeab4dd43 /parse.y | |
parent | 3a202ff2b4b39e910c7b99e2993ac5e5e12f2ad1 (diff) |
* eval.c (assign): ruby_verbose should be surrounded by RTEST().
* object.c (rb_str2cstr): ditto.
* parse.y (void_expr): ditto.
* parse.y (void_stmts): ditto.
* variable.c (rb_ivar_get): ditto.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_get): ditto.
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4648,7 +4648,7 @@ void_expr(node) { char *useless = 0; - if (!ruby_verbose) return; + if (!RTEST(ruby_verbose)) return; if (!node) return; again: @@ -4742,7 +4742,7 @@ static void void_stmts(node) NODE *node; { - if (!ruby_verbose) return; + if (!RTEST(ruby_verbose)) return; if (!node) return; if (nd_type(node) != NODE_BLOCK) return; |