Debug: option access for expansion
[exim.git] / src / src / macros.h
index 8aed335b59fc021fbab5f31d7b9dcf4a269154bb..902cdd1655e03c6dd3d9239324dff0e75d182a48 100644 (file)
@@ -1190,4 +1190,8 @@ When doing en extended loop of matching, release store periodically. */
 
 #define        REGEX_LOOPCOUNT_STORE_RESET     1000
 
+/* Debug an option access. Use for non-list ones about to be expanded. */
+#define GET_OPTION(name) \
+  DEBUG(D_expand) debug_printf("try option " name "\n");
+
 /* End of macros.h */