diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-04-19 04:57:58 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-04-19 04:57:58 +0000 |
commit | 2835df5a05a011c88e45a60c7a2728e62a3c3dfd (patch) | |
tree | 0acc31dae376ec140504c589c18d22baf0a5561b /parse.y | |
parent | 1d3fd0024d2e8821e863a39c53c38dfea65b6fa6 (diff) |
* parse.y (arg): too much NEW_LIST()
* eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -542,7 +542,7 @@ stmt : kALIAS fitem {lex_state = EXPR_FNAME;} fitem NODE *args; value_expr($6); - args = arg_concat(NEW_LIST($6), $3); + args = arg_concat($6, $3); if ($5 == tOROP) { $5 = 0; } @@ -1009,7 +1009,7 @@ arg : lhs '=' arg NODE *args; value_expr($6); - args = arg_concat(NEW_LIST($6), $3); + args = arg_concat($6, $3); if ($5 == tOROP) { $5 = 0; } |