summaryrefslogtreecommitdiff
path: root/regen/mk_invlists.pl
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-04-14 03:13:05 +0200
committerKarl Williamson <khw@cpan.org>2022-04-19 05:41:19 -0600
commit64ff2b0f8952d7100c1c9074260a518b96e2e6a8 (patch)
tree1071c62dc56a7682654856ee2212e74cac450cdc /regen/mk_invlists.pl
parent7a097f18c0d1cbc9e1cfc3cb59b95b1e22e84307 (diff)
downloadperl-64ff2b0f8952d7100c1c9074260a518b96e2e6a8.tar.gz
regen/mk_invlists.pl - move require to top of file
mk_invlists.pl does a lot and takes a while before it gets to the part where it requires regen/mph.pl, which means that if there are issues in it they arent discovered until a fair amount of time elapses, which is frustrating when debugging. Moving the require to the top means the script dies early and can be fixed. Includes a regen of uni_keywords.h and friends as this changes a regen script which causes regen.t to fail if its output is not up to date.
Diffstat (limited to 'regen/mk_invlists.pl')
-rw-r--r--regen/mk_invlists.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/mk_invlists.pl b/regen/mk_invlists.pl
index 7ed83dd5e6..0e8b160c61 100644
--- a/regen/mk_invlists.pl
+++ b/regen/mk_invlists.pl
@@ -14,6 +14,7 @@ use Unicode::UCD qw(prop_aliases
require './regen/regen_lib.pl';
require './regen/charset_translations.pl';
require './lib/unicore/UCD.pl';
+require './regen/mph.pl';
use re "/aa";
# This program outputs charclass_invlists.h, which contains various inversion
@@ -3341,7 +3342,6 @@ my $uni_pl = open_new('lib/unicore/uni_keywords.pl', '>',
read_only_bottom_close_and_rename($uni_pl, \@sources);
-require './regen/mph.pl';
sub token_name
{