diff options
| author | Brian Behlendorf <behlendorf1@llnl.gov> | 2013-12-17 21:30:44 +0000 |
|---|---|---|
| committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2013-12-19 00:46:35 +0000 |
| commit | 8ffef572ed2ba97e0c2d6a8aa2240012e611dc6f (patch) | |
| tree | d1810e4163b2c746f0955f91fc933a65fbe5fcf5 /scripts | |
| parent | 351a26ddc0a1ec85886fc961612f05686cce82e6 (diff) | |
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/cstyle.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cstyle.pl b/scripts/cstyle.pl index 9f67b1d2e4d5..083b30f6e8e9 100755 --- a/scripts/cstyle.pl +++ b/scripts/cstyle.pl @@ -441,8 +441,8 @@ line: while (<$filehandle>) { # check for errors that might occur in comments and in code. - # allow spaces to be used to draw pictures in header comments. - if (/[^ ] / && !/".* .*"/ && !$in_header_comment) { + # allow spaces to be used to draw pictures in all comments. + if (/[^ ] / && !/".* .*"/ && !$in_comment) { err("spaces instead of tabs"); } if (/^ / && !/^ \*[ \t\/]/ && !/^ \*$/ && |
