projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9545826
)
Skip #ifdefs and other preprocessor lines when parsing the
Gisle Aas [Wed, 12 Nov 2008 14:50:14 +0000 (14:50 +0000)]
local_patches section of patchlevel.h.
p4raw-id: //depot/perl@34824
utils/perlbug.PL
patch
|
blob
|
blame
|
history
diff --git
a/utils/perlbug.PL
b/utils/perlbug.PL
index
b75a677
..
d0263f3
100644
(file)
--- a/
utils/perlbug.PL
+++ b/
utils/perlbug.PL
@@
-40,6
+40,7
@@
if (! defined($_)) {
my @patches;
while (<PATCH_LEVEL>) {
last if /^\s*}/;
+ next if /^\s*#/; # preprocessor stuff
chomp;
s/^\s+,?\s*"?//;
s/"?\s*,?$//;