From: Nicholas Clark Date: Mon, 21 Dec 2009 11:48:38 +0000 (+0000) Subject: expand-macro.pl was printing the header include to STDOUT by mistake. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c3c0aa283b73660f84ae7e190dcbbd607facb512;p=p5sagit%2Fp5-mst-13.2.git 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. --- diff --git a/Porting/expand-macro.pl b/Porting/expand-macro.pl index ed8e188..b031f14 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";