Anaphoric if macro