diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-10-23 21:25:30 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-10-24 09:37:56 -0600 |
commit | 635cd5d4249dc12aee8715be32cb34c2f327a56f (patch) | |
tree | d30802a6a0d133890af8d7bb1d19239acbc46c6c /embed.fnc | |
parent | 878531d3d40ebac37ab5e00b7194f08021a3bbc8 (diff) | |
download | perl-635cd5d4249dc12aee8715be32cb34c2f327a56f.tar.gz |
regexec.c: Remove dead code
An ANYOF node now no longer matches more than one character, since
9d53c4576e551530162e7cd79ab72ed81b1e1a0f. This code was overlooked in
the clean up commit e0193e472b025d41438e251be622aad42c9af9cc. Since the
maximum match is 1 character, there is no point in passing a ptr that
was set to indicate how far the match went, so that parameter is
removed.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2006,8 +2006,8 @@ Es |U8 |regtail_study |NN struct RExC_state_t *pRExC_state \ ERs |I32 |regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog ERs |I32 |regrepeat |NN const regexp *prog|NN char **startposp|NN const regnode *p|I32 max|int depth ERs |I32 |regtry |NN regmatch_info *reginfo|NN char **startposp -ERs |bool |reginclass |NULLOK const regexp * const prog|NN const regnode * const n|NN const U8 * const p|NULLOK STRLEN *lenp\ - |bool const do_utf8sv_is_utf8 +ERs |bool |reginclass |NULLOK const regexp * const prog|NN const regnode * const n|NN const U8 * const p\ + |bool const utf8_target Es |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor Es |void |regcppop |NN regexp *rex ERsn |U8* |reghop3 |NN U8 *s|I32 off|NN const U8 *lim |