Expand macros and quoted variables inside << >>, closes #1063