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:
parent
4c4af5415f
commit
f882b63d97
|
@ -1395,7 +1395,7 @@ sub checkAddTextCalls($$)
|
||||||
$okay_add_text_count++;
|
$okay_add_text_count++;
|
||||||
}
|
}
|
||||||
# Then count how many proto_tree_add_*() calls there are
|
# 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++;
|
$add_xxx_count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue