Feature #14579 ยป hash_value_omission.diff
parse.y | ||
---|---|---|
/*% %*/
|
||
/*% ripper: assoc_new!($1, $2) %*/
|
||
}
|
||
| tLABEL
|
||
{
|
||
/*%%%*/
|
||
NODE *val = gettable(p, $1, &@$);
|
||
if (!val) val = NEW_BEGIN(0, &@$);
|
||
$$ = list_append(p, NEW_LIST(NEW_LIT(ID2SYM($1), &@1), &@$), val);
|
||
/*% %*/
|
||
/*% ripper: assoc_new!($1, id_is_var(p, get_id($1)) ? var_ref!($1) : vcall!($1)) %*/
|
||
}
|
||
| tSTRING_BEG string_contents tLABEL_END arg_value
|
||
{
|
||
/*%%%*/
|