modify pragma processing to properly handle macros