summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
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 8da2f7f555d..e3d0eb81408 100644
--- a/parse.y
+++ b/parse.y
@@ -715,7 +715,7 @@ arg : lhs '=' arg
}
| primary '[' aref_args ']' tOP_ASGN arg
{
- NODE *args = NEW_LIST($6);
+ NODE *tmp, *args = NEW_LIST($6);
$3 = list_append($3, NEW_NIL());
list_concat(args, $3);