diff options
author | Michael Mann <mmann78@netscape.net> | 2013-12-18 22:10:59 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-12-18 22:10:59 +0000 |
commit | f882b63d97baba892a811cbc9791f14ba1a2070a (patch) | |
tree | 318b0ccb4cbcb96354b55018c4b3afde6a1f8df5 | |
parent | 4c4af5415f935a2fef931cb906c36f46d1f1b8aa (diff) |
Some proto_tree_add_xxx functions have a '_' in the function name so make sure they get counted in the proto_tree_add_text percentage.
Makes a few dissectors look a little better.
svn path=/trunk/; revision=54236
-rwxr-xr-x | tools/checkAPIs.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 65a95b5015..749f5972c4 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -1395,7 +1395,7 @@ sub checkAddTextCalls($$) $okay_add_text_count++; } # Then count how many proto_tree_add_*() calls there are - while (${$fileContentsRef} =~ m/ \W proto_tree_add_[a-z0-9]+ \W* \( /gox) { + while (${$fileContentsRef} =~ m/ \W proto_tree_add_[a-z0-9_]+ \W* \( /gox) { $add_xxx_count++; } |