From 1ba6b7169121f4e363abf51ca6f714c62b200583 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 14 Aug 2007 15:40:49 +0000 Subject: r24421: Ignore long #defines (like for registry keys). Guenther (This used to be commit b310b1dfd69ba0470b66eb84007f28e5e69e92e7) --- source3/script/count_80_col.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/script/count_80_col.pl b/source3/script/count_80_col.pl index e1c8ff46a2..8b226228c9 100755 --- a/source3/script/count_80_col.pl +++ b/source3/script/count_80_col.pl @@ -3,7 +3,8 @@ open( INFILE, "$ARGV[0]" ) || die $@; $count = 0; -while ( ) { +while ( ) { + next if ($_ =~ /^#define/); $count++ if (length($_) > 80); } -- cgit