summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-31 13:54:04 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-31 13:54:04 +0000
commit488344d27a84a21afc5e4f3a5237fcad050f664d (patch)
tree532046cd58be3f14c96b8af75f49e00d24f5f66d /mathoms.c
parentceb531cd9f4a607a106933280c868d236b5c51fa (diff)
downloadperl-488344d27a84a21afc5e4f3a5237fcad050f664d.tar.gz
Perl_magic_setbm() and Perl_magic_setfm() are mathoms that can be
merged with Perl_magic_setregexp(). [Coverage on the testsuite suggests that more than that they're actually dead code, but in theory it should be possible to construct a test case that exercises them.] p4raw-id: //depot/perl@32789
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index 9e1c5469d1..ff4a2a0350 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1338,6 +1338,18 @@ Perl_newHV(pTHX)
return hv;
}
+int
+Perl_magic_setbm(pTHX_ SV *sv, MAGIC *mg)
+{
+ return Perl_magic_setregexp(aTHX_ sv, mg);
+}
+
+int
+Perl_magic_setfm(pTHX_ SV *sv, MAGIC *mg)
+{
+ return Perl_magic_setregexp(aTHX_ sv, mg);
+}
+
#endif /* NO_MATHOMS */
/*