ide-tape: collect module-related macro calls at the end