summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-07-23 12:36:27 +0200
committerNicholas Clark <nick@ccl4.org>2012-07-24 10:24:18 +0200
commit61bc5e5cf601af0f9e477344988d84967baaf47f (patch)
treed20e89820074aac3a83c71fbcd56e3047ef98c8a /ext
parent1203306491d341ed2f463fbd53a687cff1675d65 (diff)
downloadperl-61bc5e5cf601af0f9e477344988d84967baaf47f.tar.gz
In ext/B/Makefile.PL, order the list of files to scan lexically.
It doesn't actually matter which order the files are scanned for constants, but it's neater and slightly clearer where to add new files if there is an obvious order.
Diffstat (limited to 'ext')
-rw-r--r--ext/B/Makefile.PL9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/B/Makefile.PL b/ext/B/Makefile.PL
index f3d59acceb..727eeba26e 100644
--- a/ext/B/Makefile.PL
+++ b/ext/B/Makefile.PL
@@ -48,10 +48,11 @@ if ($] < 5.011) {
# giving the prefix to limit the names of symbols to define that come
# from that file. If none, all symbols will be defined whose values
# match the pattern below.
-foreach my $tuple (['op_reg_common.h','(?:(?:RXf_)?PMf_)'],
- ['op.h'],
- ['cop.h'],
- ['regexp.h','RXf_']) {
+foreach my $tuple (['cop.h'],
+ ['op.h'],
+ ['op_reg_common.h','(?:(?:RXf_)?PMf_)'],
+ ['regexp.h','RXf_'],
+ ) {
my $file = $tuple->[0];
my $pfx = $tuple->[1] || '';
my $path = File::Spec->catfile($headerpath, $file);