diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-07 21:17:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-07 21:17:10 +0000 |
commit | 36c662f48c9a23ec4251c3cf747c3f42c63a6fd9 (patch) | |
tree | e7c1b150e9145f650e078833e8d4fdfebec28203 /regexec.c | |
parent | a43d94f2c089c6f14197795daeebb7835550a747 (diff) | |
download | perl-36c662f48c9a23ec4251c3cf747c3f42c63a6fd9.tar.gz |
Clarify the use of SVf_BREAK on PL_reg_curpm.
p4raw-id: //depot/perl@32895
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2256,7 +2256,8 @@ S_regtry(pTHX_ regmatch_info *reginfo, char **startpos) #ifdef USE_ITHREADS { SV* const repointer = newSViv(0); - /* so we know which PL_regex_padav element is PL_reg_curpm */ + /* so we know which PL_regex_padav element is PL_reg_curpm + when clearing up in perl_destruct() */ SvFLAGS(repointer) |= SVf_BREAK; av_push(PL_regex_padav,repointer); PL_reg_curpm->op_pmoffset = av_len(PL_regex_padav); |