diff options
author | 2017-10-29 22:38:45 +0000 | |
---|---|---|
committer | 2017-10-29 22:38:45 +0000 | |
commit | 2e109fb9e8c0dc273648ddbc62f0a74abf9e098d (patch) | |
tree | cb4ef54ac050872365152f283943f8c159beced3 /gnu/usr.bin/perl/cpan/Pod-Parser/lib | |
parent | Fix merge issues, remove excess files - match perl-5.24.3 dist (diff) | |
download | wireguard-openbsd-2e109fb9e8c0dc273648ddbc62f0a74abf9e098d.tar.xz wireguard-openbsd-2e109fb9e8c0dc273648ddbc62f0a74abf9e098d.zip |
Apply local patches, remove excess files - perl-5.24.3
OK bluhm@
Diffstat (limited to 'gnu/usr.bin/perl/cpan/Pod-Parser/lib')
-rw-r--r-- | gnu/usr.bin/perl/cpan/Pod-Parser/lib/Pod/PlainText.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/cpan/Pod-Parser/lib/Pod/PlainText.pm b/gnu/usr.bin/perl/cpan/Pod-Parser/lib/Pod/PlainText.pm index 3db4d903cd6..03252e93c71 100644 --- a/gnu/usr.bin/perl/cpan/Pod-Parser/lib/Pod/PlainText.pm +++ b/gnu/usr.bin/perl/cpan/Pod-Parser/lib/Pod/PlainText.pm @@ -139,6 +139,19 @@ sub initialize { return $self->SUPER::initialize; } +# pod2text and pod2man re-use the same parser on a list of files, +# and will lose some information if some intermediate documents produce +# unbalanced calls to begin_cmd/end_cmd. +# via r1.4 of OpenBSD src/gnu/usr.bin/perl/lib/Pod/PlainText.pm +sub begin_pod { + my $self = shift; + + $$self{VERBATIM} = 0; + $$self{EXCLUDE} = 0; + + return $self->SUPER::begin_pod(@_); +} + ############################################################################ # Core overrides |