summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-11-12 18:28:33 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-11-12 18:28:33 +0900
commit191d1391c66ddca71bf9e19f5af18478e73428d7 (patch)
tree7b31b493a39d5dabbf6972d87ac3d60b9b3ec5c1 /src/parse.y
parentd454405aded21f556563a028ab19344623d3db1c (diff)
downloadmruby-191d1391c66ddca71bf9e19f5af18478e73428d7.tar.gz
mruby-191d1391c66ddca71bf9e19f5af18478e73428d7.zip
should wrap associ in aref_args; close #529
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
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);
}
;