summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-07-25 00:41:07 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-25 12:23:59 -0700
commit99a90e5967b33d68a38c309edf24275f1c8a979f (patch)
treecfc8416c25f4661ec9901d4103e77a5f636a2d90 /embed.fnc
parent389ecb564541f5a336b531db204970925ed27790 (diff)
downloadperl-99a90e5967b33d68a38c309edf24275f1c8a979f.tar.gz
[perl #116907] Allow //g matching past 2**31 threshold
Change the internal fields for storing positions so that //g in scalar context can move past the 2**31 character threshold. Before this com- mit, the numbers would wrap, resulting in assertion failures. The changes in this commit are only enough to get the added test pass- ing. Stay tuned for more.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 73951d931c..39b3bb4888 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2091,7 +2091,7 @@ Es |U8 |regtail_study |NN struct RExC_state_t *pRExC_state \
#if defined(PERL_IN_REGEXEC_C)
ERs |bool |isFOO_lc |const U8 classnum|const U8 character
ERs |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character
-ERs |I32 |regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
+ERs |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
ERs |I32 |regrepeat |NN regexp *prog|NN char **startposp \
|NN const regnode *p \
|NN regmatch_info *const reginfo \