summaryrefslogtreecommitdiff
path: root/ext/B/defsubs_h.PL
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-02 16:05:02 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-02 16:05:02 +0000
commit077a3fa2c3fff382cd8a867b1b39765df61a6fc7 (patch)
treeabb33108fc6f5d08669e8398daad7a4fd7da5255 /ext/B/defsubs_h.PL
parent6c9e42f72545c13a658eedd9d691686aeeea23f4 (diff)
downloadperl-077a3fa2c3fff382cd8a867b1b39765df61a6fc7.tar.gz
Probably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special
cases, instead of scanning pad.h to find them, and picking up 3 other superfluous definitions as a side effect. p4raw-id: //depot/perl@29663
Diffstat (limited to 'ext/B/defsubs_h.PL')
-rw-r--r--ext/B/defsubs_h.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/B/defsubs_h.PL b/ext/B/defsubs_h.PL
index 9291f34cbf..0e30e46684 100644
--- a/ext/B/defsubs_h.PL
+++ b/ext/B/defsubs_h.PL
@@ -47,11 +47,13 @@ foreach my $const (qw(
SVs_SMG
SVt_PVGV
SVt_PVHV
+ PAD_FAKELEX_ANON
+ PAD_FAKELEX_MULTI
))
{
doconst($const);
}
-foreach my $file (qw(op.h cop.h pad.h))
+foreach my $file (qw(op.h cop.h))
{
my $path = $^O eq 'MacOS' ? ":::$file" : "../../$file";
open(OPH,"$path") || die "Cannot open $path:$!";