duplicate tokens when scanning for macro argument list
add perl template