From a3f5265fd104ec3812af6a918f375e23aa05a251 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sun, 8 Sep 2019 00:22:26 +0900 Subject: parse.y: Use the correct alias for brace flag of hash literal nd_alen and nd_brace is the same field, but nd_brace is more suitable for this case. --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 5408e1afac..a3b3cd7224 100644 --- a/parse.y +++ b/parse.y @@ -2614,7 +2614,7 @@ primary : literal { /*%%%*/ $$ = new_hash(p, $2, &@$); - $$->nd_alen = TRUE; + $$->nd_brace = TRUE; /*% %*/ /*% ripper: hash!(escape_Qundef($2)) %*/ } -- cgit v1.2.3