fix #3126, syntax error for ... in the middle of arg list