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 | 164abf9f110f54e9e6024855a87937d0b6a99b0e (patch) | |
tree | 3f3572f7a122cecb83116bbd3d15746d3148ce37 /parse.y | |
parent | 93006c1b1045860d5229abbe99cf356c1aabce9c (diff) | |
download | ruby-164abf9f110f54e9e6024855a87937d0b6a99b0e.tar.gz ruby-164abf9f110f54e9e6024855a87937d0b6a99b0e.tar.xz ruby-164abf9f110f54e9e6024855a87937d0b6a99b0e.zip |
* parse.y (arg_dup_check): vid may be nameless internal id.
git-svn-id: http://svn.ruby-lang.org/repos/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); |