diff options
author | David Mitchell <davem@iabyn.com> | 2013-05-18 15:44:03 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-06-02 22:28:51 +0100 |
commit | 561a1286da8d6e97ab88d2779df6dcef8e6f07c0 (patch) | |
tree | 2495a438df6c35d0adcff28771129f327dc0c4f7 /regexec.c | |
parent | 9d9163fbc178eb6f6e9de0a828f30b72ecd36fc2 (diff) | |
download | perl-561a1286da8d6e97ab88d2779df6dcef8e6f07c0.tar.gz |
remove unused reginfo->bol field
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 */ |