Change 29449 by [EMAIL PROTECTED] on 2006/12/04 12:08:56

        another fix for bison 2.3

Affected files ...

... //depot/perl/regen_perly.pl#11 edit

Differences ...

==== //depot/perl/regen_perly.pl#11 (text) ====
Index: perl/regen_perly.pl
--- perl/regen_perly.pl#10~29443~       2006-12-03 14:08:57.000000000 -0800
+++ perl/regen_perly.pl 2006-12-04 04:08:56.000000000 -0800
@@ -172,6 +172,9 @@
        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";
 }
 
End of Patch.

Reply via email to