mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:40:00 -04:00
parent
7cb8f844a9
commit
a41a44bfb7
1 changed files with 2 additions and 2 deletions
|
|
@ -384,14 +384,14 @@ foreach $file (keys %file_types) {
|
|||
} elsif ($mkd_comment) {
|
||||
$before_copyright = "";
|
||||
if (/^<!/) {
|
||||
$_ = <SOURCE> if $_ eq "<!---\n";
|
||||
$_ = <SOURCE> if $_ eq "<!--\n";
|
||||
if ($_ !~ /[Cc]opyright/) {
|
||||
print "$file: non-copyright comment\n";
|
||||
close(SOURCE);
|
||||
next;
|
||||
}
|
||||
while (defined($_)) {
|
||||
last if s/.*--->//;
|
||||
last if s/.*-->//;
|
||||
$_ = <SOURCE>;
|
||||
}
|
||||
print "$file: unterminated comment\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue