summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-12-11 22:52:46 +0000
committerNicholas Clark <nick@ccl4.org>2006-12-11 22:52:46 +0000
commit39efed7fb68a394db844e6c312aadb72695b0ad8 (patch)
tree51f168a220b69826b73c62d0e0afcac285491ab1 /util.c
parent373b357f184d67d2c589b8aca81c803276397db5 (diff)
downloadperl-39efed7fb68a394db844e6c312aadb72695b0ad8.tar.gz
Add BmPREVIOUS_set(), and use it in the one place that BmPREVIOUS is
modified. p4raw-id: //depot/perl@29525
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index daf88da933..1ae9459315 100644
--- a/util.c
+++ b/util.c
@@ -522,7 +522,7 @@ Perl_fbm_compile(pTHX_ SV *sv, U32 flags)
}
}
BmRARE(sv) = s[rarest];
- BmPREVIOUS(sv) = (U16)rarest;
+ BmPREVIOUS_set(sv, rarest);
BmUSEFUL(sv) = 100; /* Initial value */
if (flags & FBMcf_TAIL)
SvTAIL_on(sv);