diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-02-23 15:38:55 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-02-24 20:20:40 -0700 |
commit | 449353394bc5e632a2c75c2fbdd20126a76755de (patch) | |
tree | e4aac18d1f1c8c06e8dd7943468b3b29e5030a08 /makedepend.SH | |
parent | d43a05a2e46d18adf962d6885a6fce7c85e305a6 (diff) | |
download | perl-449353394bc5e632a2c75c2fbdd20126a76755de.tar.gz |
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.
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-x | makedepend.SH | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makedepend.SH b/makedepend.SH index f06a483417..14c546f17f 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -135,7 +135,7 @@ for file in `$cat .clist`; do $sed -n <$file \ -e "/^${filebase}_init(/q" \ -e '/^#line/d' \ - -e '/^#/{' \ + -e '/^[ ]*#/{' \ -e 's|/\*.*$||' \ -e 's|\\$||' \ -e p \ |