summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2009-08-20 19:29:35 +0100
committerDavid Mitchell <davem@iabyn.com>2009-08-20 19:29:35 +0100
commitd7c0d2821cad1d2e5b6b3d6440e7c22bfaae9559 (patch)
tree792f00cce43e3f77a0385b65b6bc5d2f9da3087f /perl.h
parent73519bd01829f1480c288a0a7ccbfff973d867df (diff)
downloadperl-d7c0d2821cad1d2e5b6b3d6440e7c22bfaae9559.tar.gz
add -DM flag to track smartmatch resolution
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 6fafe9ab94..75c52e7420 100644
--- a/perl.h
+++ b/perl.h
@@ -3619,7 +3619,8 @@ Gid_t getegid (void);
#define DEBUG_C_FLAG 0x00200000 /*2097152 */
#define DEBUG_A_FLAG 0x00400000 /*4194304 */
#define DEBUG_q_FLAG 0x00800000 /*8388608 */
-#define DEBUG_MASK 0x00FEEFFF /* mask of all the standard flags */
+#define DEBUG_M_FLAG 0x01000000 /*8388608 */
+#define DEBUG_MASK 0x01FEEFFF /* mask of all the standard flags */
#define DEBUG_DB_RECURSE_FLAG 0x40000000
#define DEBUG_TOP_FLAG 0x80000000 /* XXX what's this for ??? Signal
@@ -3648,6 +3649,7 @@ Gid_t getegid (void);
# define DEBUG_C_TEST_ (PL_debug & DEBUG_C_FLAG)
# define DEBUG_A_TEST_ (PL_debug & DEBUG_A_FLAG)
# define DEBUG_q_TEST_ (PL_debug & DEBUG_q_FLAG)
+# define DEBUG_M_TEST_ (PL_debug & DEBUG_M_FLAG)
# define DEBUG_Xv_TEST_ (DEBUG_X_TEST_ && DEBUG_v_TEST_)
# define DEBUG_Uv_TEST_ (DEBUG_U_TEST_ && DEBUG_v_TEST_)
@@ -3676,6 +3678,7 @@ Gid_t getegid (void);
# define DEBUG_C_TEST DEBUG_C_TEST_
# define DEBUG_A_TEST DEBUG_A_TEST_
# define DEBUG_q_TEST DEBUG_q_TEST_
+# define DEBUG_M_TEST DEBUG_M_TEST_
# define DEBUG_Xv_TEST DEBUG_Xv_TEST_
# define DEBUG_Uv_TEST DEBUG_Uv_TEST_
@@ -3722,6 +3725,7 @@ Gid_t getegid (void);
# define DEBUG_C(a) DEBUG__(DEBUG_C_TEST, a)
# define DEBUG_A(a) DEBUG__(DEBUG_A_TEST, a)
# define DEBUG_q(a) DEBUG__(DEBUG_q_TEST, a)
+# define DEBUG_M(a) DEBUG__(DEBUG_M_TEST, a)
#else /* DEBUGGING */
@@ -3748,6 +3752,7 @@ Gid_t getegid (void);
# define DEBUG_C_TEST (0)
# define DEBUG_A_TEST (0)
# define DEBUG_q_TEST (0)
+# define DEBUG_M_TEST (0)
# define DEBUG_Xv_TEST (0)
# define DEBUG_Uv_TEST (0)
@@ -3775,6 +3780,7 @@ Gid_t getegid (void);
# define DEBUG_C(a)
# define DEBUG_A(a)
# define DEBUG_q(a)
+# define DEBUG_M(a)
# define DEBUG_Xv(a)
# define DEBUG_Uv(a)
#endif /* DEBUGGING */