From: Gurusamy Sarathy Date: Mon, 6 Dec 1999 15:18:30 +0000 (+0000) Subject: fix for -Dp via $^D (suggested by Stephane Payrard X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d056ab3ff0ffeec5723bde35aed46bd2e1b4bfc3;p=p5sagit%2Fp5-mst-13.2.git fix for -Dp via $^D (suggested by Stephane Payrard ) p4raw-id: //depot/perl@4658 --- diff --git a/mg.c b/mg.c index d230531..a7af352 100644 --- a/mg.c +++ b/mg.c @@ -406,6 +406,9 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) case '\004': /* ^D */ sv_setiv(sv, (IV)(PL_debug & 32767)); +#if defined(YYDEBUG) && defined(DEBUGGING) + PL_yydebug = (PL_debug & 1); +#endif break; case '\005': /* ^E */ #ifdef MACOS_TRADITIONAL