aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2009-06-15 15:16:52 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2009-06-15 15:16:52 +0000
commitbbc68754f6350246e4eedbf0cad53ddead6ec9e7 (patch)
tree46ce1f12f9b0a13ed9cd66f77bd0b1da916b5b4b /tools/checkAPIs.pl
parentc53823afbffccba3f69b86ec68d98cb16661910b (diff)
It appears Wireshark now has only ASCII in its source files; Treat non-ASCII chars as an error.
svn path=/trunk/; revision=28738
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 9e00a44fb4..45d7e42cbb 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -965,9 +965,8 @@ while ($_ = $ARGV[0])
if ($fileContents =~ m{ [\x80-\xFF] }xo)
{
- print STDERR "Warning: Found non-ASCII characters in " .$filename."\n";
-# Treat as warning
-# $errorCount++;
+ print STDERR "Error: Found non-ASCII characters in " .$filename."\n";
+ $errorCount++;
}
if ($fileContents =~ m{ %ll }xo)