Which simulator is correctly interpreting these nested macros?

In reply to jkc120:

Difficult for me to suggest a workaround without knowing why you needed these nested macros in the first place.