diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-10-29 07:19:54 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-10-29 12:29:48 +0000 |
commit | 8c48529d3ad9e9841eddc0dd3738f44680c8788e (patch) | |
tree | 81fad2dfe85c959d89fae9dee9b327f003954d12 /tools/checkAPIs.pl | |
parent | 2f543b1fd2cda1f5e47acd56d3034a2504f08200 (diff) | |
download | wireshark-8c48529d3ad9e9841eddc0dd3738f44680c8788e.tar.gz |
tools/checkAPIs.pl: improve the hf_ error messages
Change-Id: Ie8132f317f2d1c27af83218c48874941bd3cc5d0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/11390
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-x | tools/checkAPIs.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index a74e96d758..8e6acca6b3 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -1738,27 +1738,27 @@ sub check_hf_entries($$) $errorCount++; } if ($name eq $abbrev) { - print STDERR "Error: the abbreviation for $hf matches the field name in $filename\n"; + print STDERR "Error: the abbreviation for $hf ($abbrev) matches the field name ($name) in $filename\n"; $errorCount++; } if (lc($name) eq lc($blurb)) { - print STDERR "Error: the blurb for $hf ($abbrev) matches the field name in $filename\n"; + print STDERR "Error: the blurb for $hf ($blurb) matches the field name ($name) in $filename\n"; $errorCount++; } if ($name =~ m/"\s+/) { - print STDERR "Error: the name for $hf ($abbrev) has leading space in $filename\n"; + print STDERR "Error: the name for $hf ($name) has leading space in $filename\n"; $errorCount++; } if ($name =~ m/\s+"/) { - print STDERR "Error: the name for $hf ($abbrev) has trailing space in $filename\n"; + print STDERR "Error: the name for $hf ($name) has trailing space in $filename\n"; $errorCount++; } if ($blurb =~ m/"\s+/) { - print STDERR "Error: the blurb for $hf ($abbrev) has leading space in $filename\n"; + print STDERR "Error: the blurb for $hf ($blurb) has leading space in $filename\n"; $errorCount++; } if ($blurb =~ m/\s+"/) { - print STDERR "Error: the blurb for $hf ($abbrev) has trailing space in $filename\n"; + print STDERR "Error: the blurb for $hf ($blurb) has trailing space in $filename\n"; $errorCount++; } if ($abbrev =~ m/\s+/) { |