From: Rafael Garcia-Suarez Date: Thu, 25 Nov 2004 17:24:43 +0000 (+0100) Subject: Freak out if h2ph has to translate a macro that contains assembly code. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=32aeac00e3860b7bf1ab7236d73b402bf093834b;p=p5sagit%2Fp5-mst-13.2.git Freak out if h2ph has to translate a macro that contains assembly code. Subject: [PATCH] h2ph vs __asm__ Message-ID: <20041125172443.757a4833@dhcp123.mandrakesoft.com> p4raw-id: //depot/perl@23547 --- diff --git a/utils/h2ph.PL b/utils/h2ph.PL index c6a39c9..f715f50 100644 --- a/utils/h2ph.PL +++ b/utils/h2ph.PL @@ -391,6 +391,7 @@ if ($opt_e && (scalar(keys %bad_file) > 0)) { exit $Exit; sub expr { + $new = '"(assembly code)"' and return if /\b__asm__\b/; # freak out. my $joined_args; if(keys(%curargs)) { $joined_args = join('|', keys(%curargs));