Add macros for diagnostic control, use for scanf %a tests.