summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-24 13:51:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-24 13:51:15 +0000
commit1f483ca187f535de63d6e6c29dc950a0b0026c4d (patch)
tree1b347ff74382dbc05ce70dc919c407e140768513 /perl.c
parentb56ce070e5e427b18f8ce2ff317a8cae0ca4315a (diff)
downloadperl-1f483ca187f535de63d6e6c29dc950a0b0026c4d.tar.gz
In the spirit of #15464.
p4raw-id: //depot/perl@15465
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 07795703aa..f5a272d395 100644
--- a/perl.c
+++ b/perl.c
@@ -259,8 +259,8 @@ perl_construct(pTHXx)
PL_modglobal = newHV(); /* pointers to per-interpreter module globals */
PL_errors = newSVpvn("",0);
sv_setpvn(PERL_DEBUG_PAD(0), "", 0); /* For regex debugging. */
- sv_setpvn(PERL_DEBUG_PAD(1), "", 0);
- sv_setpvn(PERL_DEBUG_PAD(2), "", 0);
+ sv_setpvn(PERL_DEBUG_PAD(1), "", 0); /* ext/re needs these */
+ sv_setpvn(PERL_DEBUG_PAD(2), "", 0); /* even without DEBUGGING. */
#ifdef USE_ITHREADS
PL_regex_padav = newAV();
av_push(PL_regex_padav,(SV*)newAV()); /* First entry is an array of empty elements */