diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-07 06:32:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-07 06:32:01 +0000 |
commit | 38da1a5398f146a36910fde34b72dc9b3aa7918f (patch) | |
tree | 8baca1b753f0f48ba1f301c02a8792046c345dd0 /parse.y | |
parent | 86c0eae56e496584105f550b0d123b666885a99f (diff) | |
download | ruby-38da1a5398f146a36910fde34b72dc9b3aa7918f.tar.gz |
parse.y: duplicated kwrest name
* parse.y (f_kwrest): reject duplicated kwrest argument name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4682,6 +4682,7 @@ kwrest_mark : tPOW f_kwrest : kwrest_mark tIDENTIFIER { + shadowing_lvar(get_id($2)); $$ = $2; } ; |