summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-18 15:44:03 +0100
committerDavid Mitchell <davem@iabyn.com>2013-06-02 22:28:51 +0100
commit561a1286da8d6e97ab88d2779df6dcef8e6f07c0 (patch)
tree2495a438df6c35d0adcff28771129f327dc0c4f7 /regexec.c
parent9d9163fbc178eb6f6e9de0a828f30b72ecd36fc2 (diff)
downloadperl-561a1286da8d6e97ab88d2779df6dcef8e6f07c0.tar.gz
remove unused reginfo->bol field
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/regexec.c b/regexec.c
index 18995126a1..c0e4cea0c1 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2119,8 +2119,6 @@ Perl_regexec_flags(pTHX_ REGEXP * const rx, char *stringarg, char *strend,
reginfo->is_utf8_pat = cBOOL(RX_UTF8(rx));
reginfo->warned = FALSE;
- /* Mark beginning of line for ^ and lookbehind. */
- reginfo->bol = startpos; /* XXX not used ??? */
reginfo->strbeg = strbeg;
reginfo->sv = sv;
@@ -3642,10 +3640,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
switch (state_num) {
case BOL: /* /^../ */
if (locinput == reginfo->strbeg)
- {
- /* reginfo->till = reginfo->bol; */
break;
- }
sayNO;
case MBOL: /* /^../m */