fix macro expansion with separators and backslashes