projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make sure escaped dots in filenames are preserved when translating
[p5sagit/p5-mst-13.2.git]
/
utils
/
h2ph.PL
diff --git
a/utils/h2ph.PL
b/utils/h2ph.PL
index
5fe2e9f
..
2ea0152
100644
(file)
--- a/
utils/h2ph.PL
+++ b/
utils/h2ph.PL
@@
-514,7
+514,7
@@
sub expr {
}
} else {
if ($inif && $new !~ /defined\s*\($/) {
- $new .= '(defined(&' . $id . ') ? &' . $id . ' : 0)';
+ $new .= '(defined(&' . $id . ') ? &' . $id . ' : undef)';
} elsif (/^\[/) {
$new .= " \$$id";
} else {