summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-08-31 17:52:19 -0600
committerKarl Williamson <khw@cpan.org>2016-10-19 10:08:37 -0600
commita03e9135315c9b42294b83389d345c6e3953a3f7 (patch)
treeb89b426483809cbfd4d28a0f7ca00b24c4b69b22 /embed.h
parent889458f14071a618cdc0fb519092327c4d5f5f61 (diff)
downloadperl-a03e9135315c9b42294b83389d345c6e3953a3f7.tar.gz
Add a regex_sets debugging function
This is enabled by a C flag, as commented. It is designed to be found only by someone reading the code and wanting something temporary to help in debugging.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 1ce81735bf..2c25e9eeca 100644
--- a/embed.h
+++ b/embed.h
@@ -1004,6 +1004,11 @@
#endif
# endif
# endif
+# if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
+# if defined(PERL_IN_REGCOMP_C)
+#define dump_regex_sets_structures(a,b,c,d) S_dump_regex_sets_structures(aTHX_ a,b,c,d)
+# endif
+# endif
# if defined(PERL_ANY_COW)
#define sv_setsv_cow(a,b) Perl_sv_setsv_cow(aTHX_ a,b)
# endif