diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-06 15:04:04 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-06 15:04:04 +0000 |
commit | 881a015edde9e00018b9cadaf8ea296c17cdfc50 (patch) | |
tree | c90b8e90cbe74e4f684844c8eccd9fccf7097c93 /perl.h | |
parent | 49de0815fabe2891621aa5754fc49ec77651298a (diff) | |
download | perl-881a015edde9e00018b9cadaf8ea296c17cdfc50.tar.gz |
Add a new flag PERL_PV_PRETTY_NOCLEAR (actually just
PERL_PV_ESCAPE_NOCLEAR), and change Perl_pv_pretty() so that if this
bit is set, the output SV is not reset to an empty string.
p4raw-id: //depot/perl@32048
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5875,6 +5875,8 @@ extern void moncontrol(int); #define PERL_PV_ESCAPE_NOCLEAR 0x4000 #define PERL_PV_ESCAPE_RE 0x8000 +#define PERL_PV_PRETTY_NOCLEAR PERL_PV_ESCAPE_NOCLEAR + /* used by pv_display in dump.c*/ #define PERL_PV_PRETTY_DUMP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_QUOTE #define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE |