diff options
author | Kazuki Tsujimoto <kazuki@callcc.net> | 2022-02-19 18:45:36 +0900 |
---|---|---|
committer | Kazuki Tsujimoto <kazuki@callcc.net> | 2022-02-19 18:45:36 +0900 |
commit | 3200d97e95e5d84483b3df46dc54448a82820b9d (patch) | |
tree | 6cd5744a6529cbbb87aea085b2342ce2a91106f1 /parse.y | |
parent | 4641abf0a236076aa9e1e712d810ad80bee81e4d (diff) |
Fix location of NODE_LIT in p_kw
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4425,7 +4425,7 @@ p_kw : p_kw_label p_expr { error_duplicate_pattern_key(p, get_id($1), &@1); /*%%%*/ - $$ = list_append(p, NEW_LIST(NEW_LIT(ID2SYM($1), &@$), &@$), $2); + $$ = list_append(p, NEW_LIST(NEW_LIT(ID2SYM($1), &@1), &@$), $2); /*% %*/ /*% ripper: rb_ary_new_from_args(2, get_value($1), get_value($2)) %*/ } |