summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-12-21 11:48:38 +0000
committerNicholas Clark <nick@ccl4.org>2009-12-21 11:52:34 +0000
commitc3c0aa283b73660f84ae7e190dcbbd607facb512 (patch)
treec3f8f2ae634ce3f30f35f2082cceb63b6927a599 /Porting
parent30026e362a034115c7d0374a1e217a52f4111932 (diff)
downloadperl-c3c0aa283b73660f84ae7e190dcbbd607facb512.tar.gz
expand-macro.pl was printing the header include to STDOUT by mistake.
This stopped it expanding macros in header files not directly or indirectly included via perl.h or EXTERN.h The bug was introduced with change 4784c5e80ccedd3734ce162e02ed1c7e25e60c01.
Diffstat (limited to 'Porting')
-rw-r--r--Porting/expand-macro.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/expand-macro.pl b/Porting/expand-macro.pl
index ed8e188efa..b031f14d58 100644
--- a/Porting/expand-macro.pl
+++ b/Porting/expand-macro.pl
@@ -59,7 +59,7 @@ print $out <<"EOF";
#include "perl.h"
EOF
-print qq{#include "$header"\n}
+print $out qq{#include "$header"\n}
unless $header eq 'perl.h' or $header eq 'EXTERN.h';
print $out <<"EOF";