In perl.git, the branch smoke-me/khw-makedepend has been created
<http://perl5.git.perl.org/perl.git/commitdiff/0767a9bcc23d44b3c2a7b299de8cee3e71669780?hp=0000000000000000000000000000000000000000>
at 0767a9bcc23d44b3c2a7b299de8cee3e71669780 (commit)
- Log -----------------------------------------------------------------
commit 0767a9bcc23d44b3c2a7b299de8cee3e71669780
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 ed5d2f6a7b5f2734d7005e758d3648ac3c6024df
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