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
This commit is contained in:
Michael Mann 2013-12-18 22:10:59 +00:00
parent 4c4af5415f
commit f882b63d97
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}