diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-31 13:54:04 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-31 13:54:04 +0000 |
commit | 488344d27a84a21afc5e4f3a5237fcad050f664d (patch) | |
tree | 532046cd58be3f14c96b8af75f49e00d24f5f66d /mathoms.c | |
parent | ceb531cd9f4a607a106933280c868d236b5c51fa (diff) | |
download | perl-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.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 */ /* |