projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270c16a
)
ext/B/defsubs_h.PL: add explanatory comment
author
Karl Williamson
<khw@khw-desktop.(none)>
Mon, 19 Jul 2010 23:18:03 +0000
(17:18 -0600)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Thu, 29 Jul 2010 10:10:18 +0000
(12:10 +0200)
ext/B/defsubs_h.PL
patch
|
blob
|
history
diff --git
a/ext/B/defsubs_h.PL
b/ext/B/defsubs_h.PL
index
98a3e8b
..
f8fa1ed
100644
(file)
--- a/
ext/B/defsubs_h.PL
+++ b/
ext/B/defsubs_h.PL
@@
-72,6
+72,10
@@
if ($] < 5.011) {
doconst(CVf_LOCKED);
}
+# First element in each tuple is the file; second is a regex snippet
+# 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.h'],['cop.h'],['regexp.h','RXf_'])
{
my $file = $tuple->[0];