macro for spying on parser