diff options
Diffstat (limited to 'scripts/cstyle.pl')
-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 9f67b1d2e..083b30f6e 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\/]/ && !/^ \*$/ && |