enable color output with -Mre=debugcolor with -DDEBUGGING
authorIlya Zakharevich <ilya@math.berkeley.edu>
Sat, 18 Jul 1998 17:34:00 +0000 (13:34 -0400)
committerGurusamy Sarathy <gsar@cpan.org>
Tue, 21 Jul 1998 04:12:39 +0000 (04:12 +0000)
Message-Id: <199807182134.RAA20644@monk.mps.ohio-state.edu>
Subject: [PATCH 5.004_72] Better -Mre=colordb

p4raw-id: //depot/perl@1596

ext/re/re.xs

index 27c92b9..7230d62 100644 (file)
@@ -30,6 +30,7 @@ static void
 install(void)
 {
     dTHR;
+    PL_colorset = 0;                   /* Allow reinspection of ENV. */
     PL_regexecp = &my_regexec;
     PL_regcompp = &my_regcomp;
     oldfl = PL_debug & R_DB;