From: Dave Mitchell Date: Mon, 4 Dec 2006 12:08:56 +0000 (+0000) Subject: another fix for bison 2.3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d6f9730baddfb08f2c71411aa0ce015938a40cf;p=p5sagit%2Fp5-mst-13.2.git another fix for bison 2.3 p4raw-id: //depot/perl@29449 --- diff --git a/regen_perly.pl b/regen_perly.pl index a046399..d34a8ad 100644 --- a/regen_perly.pl +++ b/regen_perly.pl @@ -172,6 +172,9 @@ sub extract { or die "Can't extract actions from $tmpc_file\n"; $actlines = $1; + # C<#line 188 "perlytmp.c"> gets picked up by make depend, so remove them. + $actlines =~ s/^#line \d+ "\Q$tmpc_file\E".*$//gm; + return $actlines. "\n", $tablines. "\n"; }