@@ -2045,7 +2045,7 @@ command_asgn : lhs '=' lex_ctxt command_rhs
2045
2045
/* %%%*/
2046
2046
$$ = new_attr_op_assign(p, $1 , ID2VAL(idCOLON2), $3 , $4 , $6 , &@$ );
2047
2047
/* % %*/
2048
- /* % ripper: opassign!(field!($1, ID2VAL(idCOLON2) , $3), $4, $6) %*/
2048
+ /* % ripper: opassign!(field!($1, $2 , $3), $4, $6) %*/
2049
2049
}
2050
2050
| defn_head f_opt_paren_args ' =' endless_command
2051
2051
{
@@ -2316,14 +2316,14 @@ command : fcall command_args %prec tLOWEST
2316
2316
/* %%%*/
2317
2317
$$ = new_command_qcall(p, ID2VAL(idCOLON2), $1 , $3 , $4 , Qnull, &@3 , &@$ );
2318
2318
/* % %*/
2319
- /* % ripper: command_call!($1, ID2VAL(idCOLON2) , $3, $4) %*/
2319
+ /* % ripper: command_call!($1, $2 , $3, $4) %*/
2320
2320
}
2321
2321
| primary_value tCOLON2 operation2 command_args cmd_brace_block
2322
2322
{
2323
2323
/* %%%*/
2324
2324
$$ = new_command_qcall(p, ID2VAL(idCOLON2), $1 , $3 , $4 , $5 , &@3 , &@$ );
2325
2325
/* % %*/
2326
- /* % ripper: method_add_block!(command_call!($1, ID2VAL(idCOLON2) , $3, $4), $5) %*/
2326
+ /* % ripper: method_add_block!(command_call!($1, $2 , $3, $4), $5) %*/
2327
2327
}
2328
2328
| keyword_super command_args
2329
2329
{
@@ -2599,7 +2599,7 @@ lhs : user_variable
2599
2599
/* %%%*/
2600
2600
$$ = attrset(p, $1 , idCOLON2, $3 , &@$ );
2601
2601
/* % %*/
2602
- /* % ripper: field!($1, ID2VAL(idCOLON2) , $3) %*/
2602
+ /* % ripper: field!($1, $2 , $3) %*/
2603
2603
}
2604
2604
| primary_value call_op tCONSTANT
2605
2605
{
@@ -2790,7 +2790,7 @@ arg : lhs '=' lex_ctxt arg_rhs
2790
2790
/* %%%*/
2791
2791
$$ = new_attr_op_assign(p, $1 , ID2VAL(idCOLON2), $3 , $4 , $6 , &@$ );
2792
2792
/* % %*/
2793
- /* % ripper: opassign!(field!($1, ID2VAL(idCOLON2) , $3), $4, $6) %*/
2793
+ /* % ripper: opassign!(field!($1, $2 , $3), $4, $6) %*/
2794
2794
}
2795
2795
| primary_value tCOLON2 tCONSTANT tOP_ASGN lex_ctxt arg_rhs
2796
2796
{
@@ -4351,14 +4351,14 @@ method_call : fcall paren_args
4351
4351
$$ = new_qcall(p, ID2VAL(idCOLON2), $1 , $3 , $4 , &@3 , &@$ );
4352
4352
nd_set_line ($$, @3 .end_pos.lineno);
4353
4353
/* % %*/
4354
- /* % ripper: method_add_arg!(call!($1, ID2VAL(idCOLON2) , $3), $4) %*/
4354
+ /* % ripper: method_add_arg!(call!($1, $2 , $3), $4) %*/
4355
4355
}
4356
4356
| primary_value tCOLON2 operation3
4357
4357
{
4358
4358
/* %%%*/
4359
4359
$$ = new_qcall(p, ID2VAL(idCOLON2), $1 , $3 , Qnull, &@3 , &@$ );
4360
4360
/* % %*/
4361
- /* % ripper: call!($1, ID2VAL(idCOLON2) , $3) %*/
4361
+ /* % ripper: call!($1, $2 , $3) %*/
4362
4362
}
4363
4363
| primary_value call_op paren_args
4364
4364
{
@@ -4374,7 +4374,7 @@ method_call : fcall paren_args
4374
4374
$$ = new_qcall(p, ID2VAL(idCOLON2), $1 , ID2VAL(idCall), $3 , &@2 , &@$ );
4375
4375
nd_set_line ($$, @2 .end_pos.lineno);
4376
4376
/* % %*/
4377
- /* % ripper: method_add_arg!(call!($1, ID2VAL(idCOLON2) , ID2VAL(idCall)), $3) %*/
4377
+ /* % ripper: method_add_arg!(call!($1, $2 , ID2VAL(idCall)), $3) %*/
4378
4378
}
4379
4379
| keyword_super paren_args
4380
4380
{
0 commit comments