mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
complete comment marker change
This commit is contained in:
@@ -372,14 +372,14 @@ foreach $file (keys %file_types) {
|
|||||||
} elsif ($mkd_comment) {
|
} elsif ($mkd_comment) {
|
||||||
$before_copyright = "";
|
$before_copyright = "";
|
||||||
if (/^<!/) {
|
if (/^<!/) {
|
||||||
$_ = <SOURCE> if $_ eq "<!---\n";
|
$_ = <SOURCE> if $_ eq "<!--\n";
|
||||||
if ($_ !~ /[Cc]opyright/) {
|
if ($_ !~ /[Cc]opyright/) {
|
||||||
print "$file: non-copyright comment\n";
|
print "$file: non-copyright comment\n";
|
||||||
close(SOURCE);
|
close(SOURCE);
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
while (defined($_)) {
|
while (defined($_)) {
|
||||||
last if s/.*--->//;
|
last if s/.*-->//;
|
||||||
$_ = <SOURCE>;
|
$_ = <SOURCE>;
|
||||||
}
|
}
|
||||||
print "$file: unterminated comment\n"
|
print "$file: unterminated comment\n"
|
||||||
|
Reference in New Issue
Block a user