mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Change superclass rhs to use none
This commit is contained in:
parent
db4ea95219
commit
6c8cdc9c6b
Notes:
git
2025-03-02 14:10:36 +00:00
1 changed files with 2 additions and 9 deletions
11
parse.y
11
parse.y
|
@ -6264,11 +6264,7 @@ superclass : '<'
|
|||
$$ = $3;
|
||||
/*% ripper: $:3 %*/
|
||||
}
|
||||
| /* none */
|
||||
{
|
||||
$$ = 0;
|
||||
/*% ripper: Qnil %*/
|
||||
}
|
||||
| none
|
||||
;
|
||||
|
||||
f_opt_paren_args: f_paren_args
|
||||
|
@ -6614,10 +6610,6 @@ opt_f_block_arg : ',' f_block_arg
|
|||
/*% ripper: $:2 %*/
|
||||
}
|
||||
| none
|
||||
{
|
||||
$$ = 0;
|
||||
/*% ripper: Qnil %*/
|
||||
}
|
||||
;
|
||||
|
||||
singleton : value_expr(var_ref)
|
||||
|
@ -6783,6 +6775,7 @@ terms : term
|
|||
none : /* none */
|
||||
{
|
||||
$$ = 0;
|
||||
/*% ripper: Qnil %*/
|
||||
}
|
||||
;
|
||||
%%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue