3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-25 13:29:29 +01:00

applets/gencstd23: fix paragraph diff special case for n1570

This commit is contained in:
Pragmatic Software 2022-08-08 18:45:15 -07:00
parent 51eae56632
commit 43dec7b70f
2 changed files with 4 additions and 6 deletions

View File

@ -118,10 +118,8 @@ sub gen_data {
print STDERR "paragraph $p: [$t]\n" if $debug >= 3;
if ($input eq 'n1570.txt' && $this_section !~ /^(?:K.3.9.(?:2|3))/) {
if ($p - $last_p != 1) {
die "Paragraph diff invalid";
}
if ($p - $last_p != 1) {
die "Paragraph diff invalid" unless ($input eq 'n1570.in' && $this_section =~ /^(?:K.3.9.(?:2|3))/);
}
# check for footnotes

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 4566,
BUILD_DATE => "2022-08-07",
BUILD_REVISION => 4569,
BUILD_DATE => "2022-08-08",
};
sub initialize {}