summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-27 14:39:28 -0700
committerKarl Williamson <khw@cpan.org>2014-10-21 09:26:49 -0600
commit558bc5733bc9dde03f4161b1179a8a49b7dbc432 (patch)
tree10e1bee0be9e7f6527077a72d96f9bc9e671d135 /makedepend.SH
parent86c3d61a7d00d9c0436b87cee87cb18a0055b6f8 (diff)
downloadperl-558bc5733bc9dde03f4161b1179a8a49b7dbc432.tar.gz
makedepend.SH: Remove some unnecessary white space
Multi-line preprocessor directives are now joined into single lines. This can create lines too long for the preprocessor to handle. This commit removes blanks adjoining comments that get deleted. This makes things somewhat less likely to exceed the limit. This commit also fixes several [] which were meant to each match a tab or a blank, but editors converted the tabs to blanks
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH8
1 files changed, 4 insertions, 4 deletions
diff --git a/makedepend.SH b/makedepend.SH
index ca9cce1817..fd10042e1c 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -167,11 +167,11 @@ for file in `$cat .clist`; do
-e 'N' \
-e 'b testcont' \
-e '}' \
- -e 's/\\\n/ /g' \
+ -e 's/\\\n/ /g' \
-e '/^#line/d' \
- -e '/^[ ]*#/{' \
- -e 's|/\*[^*].*$||' \
- -e 's|/\*\*[^/].*$||' \
+ -e '/^[ ]*#/{' \
+ -e 's|[ ]*/\*[^*].*$||' \
+ -e 's|[ ]*/\*\*[^/].*$||' \
-e p \
-e '}' ) >UU/$file.c