diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-06 06:37:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-06 06:37:40 +0000 |
commit | 6d32246b31a698dfe22ed64ed478ea40683bb330 (patch) | |
tree | 3f3572f7a122cecb83116bbd3d15746d3148ce37 /parse.y | |
parent | d304aa6382747bc2c5094c9d3081f6e8260e5d96 (diff) | |
download | ruby-6d32246b31a698dfe22ed64ed478ea40683bb330.tar.gz |
* parse.y (arg_dup_check): vid may be nameless internal id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7886,6 +7886,7 @@ arg_dup_check(ID vid, VALUE m, VALUE list, NODE *node) VALUE sym; if (!vid) return 0; + if (is_junk_id(vid)) return 0; sym = ID2SYM(vid); if ((m && rb_ary_includes(m, sym)) || rb_ary_includes(list, sym)) { ruby_sourceline = nd_line(node); |