Use Array#unshift for multiple xpath call args.
This commit is contained in:
parent
b3ffc28cc7
commit
45db337c76
|
@ -73,7 +73,7 @@ rule
|
||||||
|
|
||||||
call_args
|
call_args
|
||||||
: paths { val }
|
: paths { val }
|
||||||
| paths T_COMMA call_args { [val[0], *val[2]] }
|
| paths T_COMMA call_args { val[2].unshift(val[0]) }
|
||||||
;
|
;
|
||||||
|
|
||||||
string
|
string
|
||||||
|
|
Loading…
Reference in New Issue