diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-06 15:52:37 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-06 15:52:37 +0000 |
commit | 46ab32892be40c66fb42b377ee5ee1e8921e1db5 (patch) | |
tree | a8157b02cd2a7fdbce5dd6d6be45efb956a30792 /perl.c | |
parent | 4ab59fccd2ed87367a9c02575d4dd0b9d6b8b95a (diff) | |
download | perl-46ab32892be40c66fb42b377ee5ee1e8921e1db5.tar.gz |
Move all the regexp state variables into a single structure.
This allows it to be saved, restored and cloned with a single Copy()
(but inevitably still some fixup)
p4raw-id: //depot/perl@27732
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3471,6 +3471,10 @@ S_init_interp(pTHX) # undef PERLVARIC #endif + /* As these are inside a structure, PERLVARI isn't capable of initialising + them */ + PL_regindent = 0; + PL_reg_oldcurpm = PL_reg_curpm = PL_reg_poscache = PL_reg_starttry = NULL; } STATIC void |