summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-15 08:46:55 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-15 08:46:55 +0000
commit2d88403b15af0113a93345dc300a3573b3b70ec0 (patch)
treeaca7e84f9c24c760a9d2548d4d4451972dcb1b77 /parse.y
parenta9421ed9da3d71c0de8078d0177ed4d94f8f13b8 (diff)
* eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its
argument list. [ruby-core:07366] * parse.y (arg): avoid unnecessary extra argument. [ruby-core:07366] * eval.c (rb_eval): honor visibility on OP_ASGN1 and OP_ASGN2. [ruby-core:07366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y3
1 files changed, 0 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index 56232fa9f1..220c0a7228 100644
--- a/parse.y
+++ b/parse.y
@@ -1013,9 +1013,6 @@ arg : lhs '=' arg
value_expr($6);
args = NEW_LIST($6);
- if ($3 && nd_type($3) != NODE_ARRAY)
- $3 = NEW_LIST($3);
- $3 = list_append($3, NEW_NIL());
list_concat(args, $3);
if ($5 == tOROP) {
$5 = 0;