diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-08 00:22:26 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-08 00:28:03 +0900 |
commit | a3f5265fd104ec3812af6a918f375e23aa05a251 (patch) | |
tree | 4187af56750dde2c232b091ebf1e06877ef90b16 /parse.y | |
parent | 95f9d7c76d9e808099f89e5cf160306680dc5994 (diff) |
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.
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2614,7 +2614,7 @@ primary : literal { /*%%%*/ $$ = new_hash(p, $2, &@$); - $$->nd_alen = TRUE; + $$->nd_brace = TRUE; /*% %*/ /*% ripper: hash!(escape_Qundef($2)) %*/ } |