projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
don't longjmp() in pp_goto() (regressive bug from old single-stack
[p5sagit/p5-mst-13.2.git]
/
regexec.c
diff --git
a/regexec.c
b/regexec.c
index
a529e86
..
840d9cc
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-208,6
+208,7
@@
regcppop(void)
STATIC char *
regcp_set_to(I32 ss)
{
+ dTHR;
I32 tmp = PL_savestack_ix;
PL_savestack_ix = ss;
@@
-250,6
+251,7
@@
pregexec(register regexp *prog, char *stringarg, register char *strend,
STATIC void
cache_re(regexp *prog)
{
+ dTHR;
PL_regprecomp = prog->precomp; /* Needed for FAIL. */
#ifdef DEBUGGING
PL_regprogram = prog->program;