aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 06:00:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 06:00:57 +0000
commit838a91633c3a50f43bcc4ccec11b41b5a102fd90 (patch)
treef95618cadb1fb1a07bf33f33e681cda1f8650870 /parse.y
parent6a34a8c403717f1ffd894f54bff611f3cde28543 (diff)
downloadruby-838a91633c3a50f43bcc4ccec11b41b5a102fd90.tar.gz
parse.y: fix a typo
* parse.y (f_kw): fix typo. needs the argument value, not the label twice. [ruby-core:83174] [Bug #13987] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 2ce4134df9..678e7575c3 100644
--- a/parse.y
+++ b/parse.y
@@ -4408,7 +4408,7 @@ f_kw : f_label arg_value
/*%%%*/
$$ = new_kw_arg($$);
/*%
- $$ = rb_assoc_new(get_value($$), get_value($1));
+ $$ = rb_assoc_new(get_value($$), get_value($2));
%*/
}
| f_label