modify ast visitor to skip macro