forked from osmocom/wireshark
It appears Wireshark now has only ASCII in its source files; Treat non-ASCII chars as an error.
svn path=/trunk/; revision=28738
This commit is contained in:
parent
c53823afbf
commit
bbc68754f6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue