summaryrefslogtreecommitdiff
path: root/regen/opcode.pl
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2018-11-23 17:13:59 -0500
committerJames E Keenan <jkeenan@cpan.org>2018-11-23 19:04:06 -0500
commit2085092cb5f9e412a0e4fe0bb933a81f062b5d02 (patch)
tree4965e8c08456926dc7e9a4d46ec12e32c7047159 /regen/opcode.pl
parent3c050337a991245bd0ddd47cb76041d98580979f (diff)
downloadperl-2085092cb5f9e412a0e4fe0bb933a81f062b5d02.tar.gz
Split NAME line on multiple whitespaces
For: RT # 133683 pod/perlmodlib.pod is a file generated by pod/perlmodlib.PL, which is run by 'miniperl' during 'make'. That program parses the 'NAME' header of .pod files and fragments of POD found in 'regen/opcode.pl'. The POD for B::Op_private is one such fragment. Correcting a superfluous whitespace in that fragment did not suffice to prevent the downstream formatting error reported in the RT -- an error visible with 'pod2text' and 'pod2html' as well. We also had to make the regex which perlmodlib.PL uses to parse the 'NAME' header more flexible.
Diffstat (limited to 'regen/opcode.pl')
-rwxr-xr-xregen/opcode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/opcode.pl b/regen/opcode.pl
index 01178668cd..672f55c368 100755
--- a/regen/opcode.pl
+++ b/regen/opcode.pl
@@ -404,7 +404,7 @@ sub print_B_Op_private {
my $header = <<'EOF';
@=head1 NAME
@
-@B::Op_private - OP op_private flag definitions
+@B::Op_private - OP op_private flag definitions
@
@=head1 SYNOPSIS
@