mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.
This commit is contained in:
parent
95f9d7c76d
commit
a3f5265fd1
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -2614,7 +2614,7 @@ primary : literal
|
|||
{
|
||||
/*%%%*/
|
||||
$$ = new_hash(p, $2, &@$);
|
||||
$$->nd_alen = TRUE;
|
||||
$$->nd_brace = TRUE;
|
||||
/*% %*/
|
||||
/*% ripper: hash!(escape_Qundef($2)) %*/
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue