diff options
author | yui-knk <spiketeika@gmail.com> | 2024-01-27 14:41:07 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2024-01-27 16:50:35 +0900 |
commit | 68b9a32a624edf0cb497d344a2a8650658500517 (patch) | |
tree | d6bff45728e9639c7caa4314a928cd345ed098e1 /parse.y | |
parent | 70cb0a4dec2e445730357eea2aa347747df302af (diff) |
bvar is not NODE but ID
Before this commit `ruby -y -e 'tap {|;x, y|}'` failed with SEGV.
This change fixes it.
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2415,7 +2415,7 @@ rb_str_to_parser_string(rb_parser_t *p, VALUE str) %type <node_args> block_param opt_block_param block_param_def %type <node_opt_arg> f_opt %type <node_kw_arg> f_kwarg f_kw f_block_kwarg f_block_kw -%type <node> bv_decls opt_bv_decl bvar +%type <id> bv_decls opt_bv_decl bvar %type <node> lambda lambda_body brace_body do_body %type <node_args> f_larglist %type <node> brace_block cmd_brace_block do_block lhs none fitem |