Commit e132e41de2 for perl
commit e132e41de2fb6dce41b59a2e12871146d7d32085
Author: Karl Williamson <khw@cpan.org>
Date: Sun May 24 15:08:59 2026 -0600
makedependfile.SH: Handle alternate #line number form
Additionally handle the case where the 'line' is omitted which some
preprocessors use
diff --git a/makedependfile.SH b/makedependfile.SH
index f1a2a32374..befb283a02 100644
--- a/makedependfile.SH
+++ b/makedependfile.SH
@@ -136,7 +136,11 @@ $echo "Finding dependencies for $filebase$_o"
-e '# Remove any embedded new lines to give an exact representation'\
-e '# of the lines joined with their continuations' \
-e 's/\\\n//g' \
+ \
+ -e '# Delete two styles of lines that specify the line number' \
-e '/^#line/d' \
+ -e '/^#[ ]+[0-9][0-9]* /d' \
+ \
-e '/^[ ]*#/{' \
-e 's|[ ]*/\*[^*].*$||' \
-e 's|[ ]*/\*\*[^/].*$||' \