diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-26 04:11:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-26 04:11:59 +0000 |
commit | b0018f68590c8071bb0a242f75cc4fa048396e78 (patch) | |
tree | 1d62b82c11ddb9ab3ed6ecae81292028f2b3fe2d /parse.y | |
parent | 3cbb849bbbf6088be2c054ee89a6b47f0e39ae99 (diff) |
* parse.y (ripper_get_value): escape Qundef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10351,6 +10351,7 @@ static VALUE ripper_get_value(VALUE v) { NODE *nd; + if (v == Qundef) return Qnil; if (!RB_TYPE_P(v, T_NODE)) return v; nd = (NODE *)v; if (nd_type(nd) != NODE_LASGN) return Qnil; |