doing two passes would be even better, will look at that later
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1406069 13f79535-47bb-0310-9956-
ffa450edef68
if (exists $tags{$tag}) {
print STDERR "WARNING: Duplicate tag $tag at $tags{$tag}->{file}:$tags{$tag}->{line} and $file:$lineno\n";
}
+ if ($tag >= $serial) {
+ print STDERR "WARNING: next-number $serial inconsistent with tag $tag at $file:$lineno, adjusting\n";
+ $serial = $tag + 1;
+ }
$tags{$tag} = { file => $file, line => $lineno, msg => $oneline };
}