In perl.git, the branch smoke-me/khw-makedepend has been created
<http://perl5.git.perl.org/perl.git/commitdiff/f4b5e624f453b3b841559cca80e0999c2ffdccc3?hp=0000000000000000000000000000000000000000>
at f4b5e624f453b3b841559cca80e0999c2ffdccc3 (commit)
- Log -----------------------------------------------------------------
commit f4b5e624f453b3b841559cca80e0999c2ffdccc3
Author: Karl Williamson <[email protected]>
Date: Sat Feb 23 15:41:28 2013 -0700
makedepend.SH: Deal with continuation lines
makedepend was failing to take into account the fact that preprocessor
directives, like any line, may be continued onto succeeding lines by a
trailing backslash. This led to errors in the C preprocessing, which were
suppressed on all but os390 systems.o
This commit alleviates that, but it is not a complete solution. It
deletes C comments, but this being sed, it doesn't catch all nuances of
C comments. We only care, however, about comments on preprocessor
directive lines, and this is good enough to work on the current Perl
without generating any errors, on my system.
Spotted by John Goodyear.
M makedepend.SH
commit 6e233df99a53f2e2449c5d2d9d55793c6d5424e6
Author: Karl Williamson <[email protected]>
Date: Sat Feb 23 15:38:55 2013 -0700
makedepend.SH: Preprocessor directives don't have to start at column 1
Like, apparently, the person(s) who originally wrote this script, I
thought all preprocessor directives had to start in column 1.
It turns out that restriction was relaxed in C89; so that they may be
indented.
Spotted by John Goodyear.
M makedepend.SH
commit 6d000fbb6bc5c86947044f4cddaf62f90e5ac9a9
Author: Karl Williamson <[email protected]>
Date: Sat Feb 23 15:34:05 2013 -0700
makedepend.SH: Make compiler errors show correct line number
Instead of inserting "#line 1", insert "#line 2" to account for the
inserted line.
Spotted by John Goodyear.
M makedepend.SH
-----------------------------------------------------------------------
--
Perl5 Master Repository