aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-12-08 14:09:33 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-08 22:14:00 +0000
commitd87a9527ee656b0f69acf29851d84450c8a643bd (patch)
treec9e483cce6293309540f60e90a62c4bd9352a0f2 /tools
parent08e624f95d376b1175cac1b1a27079bd92b83b52 (diff)
It's a reasonable expectation that we will have C++ style comments in
ui/qt. Change-Id: Iedbf2a2d3cbfee00912e6e883928836932dea566 Reviewed-on: https://code.wireshark.org/review/5678 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index e08096bf36..e0a4c2a432 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -2170,7 +2170,7 @@ while ($_ = $ARGV[0])
#$errorCount += check_ett_registration(\$fileContents, $filename);
- if ($fileContents =~ m{ \s// }xo)
+ if ($filename !~ m{ /ui/qt/ } && $fileContents =~ m{ \s// }xo)
{
print STDERR "Error: Found C++ style comments in " .$filename."\n";
$errorCount++;