Update a comment; tweak a RegEx.

svn path=/trunk/; revision=47612
This commit is contained in:
Bill Meier 2013-02-10 18:40:54 +00:00
parent 3f70cb4406
commit 19ffe7eb4c
1 changed files with 3 additions and 4 deletions

View File

@ -54,11 +54,11 @@
## NOTE: This tool currently generates false positives! ## NOTE: This tool currently generates false positives!
## ##
## The "NO ARRAY" messages - if accurate - points to an error that will ## The "NO ARRAY" messages - if accurate - points to an error that will
## cause (t|wire)shark to terminate with an assertion when a packet containing ## cause (t|wire)shark to report a DISSECTOR_BUG when a packet containing
## this particular element is being dissected. ## this particular element is being dissected.
## ##
## The "Unused entry" message indicates the opposite: We define an entry but ## The "Unused entry" message indicates the opposite: We define an entry but
## never use it in a proto_...add... function. ## never use it (e.g., in a proto_...add... function).
## ------------------------------------------------------------------------------------ ## ------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------ # ------------------------------------------------------------------------------------
@ -372,8 +372,7 @@ sub find_remove_hf_defs {
my $p1_regex = qr{ my $p1_regex = qr{
^ ^
\s* \s*
(static)? (static \s+)?
\s+
g?int g?int
\s+ \s+
(hf_[a-zA-Z0-9_]+) # hf_.. (hf_[a-zA-Z0-9_]+) # hf_..