diff --git a/src/tools/docbook/headersampler/HeaderSampler.pl b/src/tools/docbook/headersampler/HeaderSampler.pl index bf37b543ad..e87fae97f4 100644 --- a/src/tools/docbook/headersampler/HeaderSampler.pl +++ b/src/tools/docbook/headersampler/HeaderSampler.pl @@ -217,18 +217,22 @@ sub ValidateDocbook { open(IN2, $gDocbookpath) || die "Can't open '$gDocbookpath'"; my $line = ""; - my $last = ""; - my $input = $_; + my $last1 = ""; + my $last2 = ""; + my $input = $_ ; + my $pattern = "