b2bf41b2ba
1334: check for cancellation during macro expansion r=matklad a=matklad closes #1331 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>