tok: ignore delim characters when expanding macros