Handle violations located in macro

Easy fix for #222