diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-05-26 13:32:04 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-05-26 13:32:04 +0000 |
commit | 8ce306faa0cfac44b8e57689057c9003f1bff0bd (patch) | |
tree | 6601785317c1df20ce3e652be37f5b4a7c194256 /tools/checkAPIs.pl | |
parent | 6a4ed4f4c33d0a6250dfeb4e5547a944c7a1dcf9 (diff) | |
download | wireshark-8ce306faa0cfac44b8e57689057c9003f1bff0bd.tar.gz |
Inspired by one of the changes from r37406 and bug 2794: detect hf abbreviations
with two or more periods in a row. Fix one case of that.
svn path=/trunk/; revision=37407
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-x | tools/checkAPIs.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 5d7d077106..ade1764cec 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -1158,6 +1158,10 @@ sub check_hf_entries($$) print STDERR "Error: field $name does not have an abbreviation in $filename\n"; $errorCount++; } + if ($abbrev =~ m/\.\.+/) { + print STDERR "Error: the abbreviation for field $name ($abbrev) contains two or more sequential periods in $filename\n"; + $errorCount++; + } if ($name eq $abbrev) { print STDERR "Error: the abbreviation for field $name matches the field name in $filename\n"; $errorCount++; |