From 191d1391c66ddca71bf9e19f5af18478e73428d7 Mon Sep 17 00:00:00 2001 From: Yukihiro Matz Matsumoto Date: Mon, 12 Nov 2012 18:28:33 +0900 Subject: should wrap associ in aref_args; close #529 --- src/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse.y b/src/parse.y index abec59e3f..bfea1f69c 100644 --- a/src/parse.y +++ b/src/parse.y @@ -1749,7 +1749,7 @@ aref_args : none } | assocs trailer { - $$ = new_hash(p, $1); + $$ = cons(new_hash(p, $1), 0); } ; -- cgit v1.2.3