aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-12-18 22:10:59 +0000
committerMichael Mann <mmann78@netscape.net>2013-12-18 22:10:59 +0000
commitf882b63d97baba892a811cbc9791f14ba1a2070a (patch)
tree318b0ccb4cbcb96354b55018c4b3afde6a1f8df5 /tools/checkAPIs.pl
parent4c4af5415f935a2fef931cb906c36f46d1f1b8aa (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
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl2
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++;
}