Use Array#unshift for multiple xpath call args.

This commit is contained in:
Yorick Peterse 2014-06-17 20:11:59 +02:00
parent b3ffc28cc7
commit 45db337c76
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ rule
call_args
: paths { val }
| paths T_COMMA call_args { [val[0], *val[2]] }
| paths T_COMMA call_args { val[2].unshift(val[0]) }
;
string