Wireshark-dev: Re: [Wireshark-dev] Disabling a dissector doesn't seem to quite work.
From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Sat, 15 Sep 2012 18:05:19 -0400
On 9/15/2012 4:35 PM, Evan Huus wrote:

The obvious solution for now is to remove the comments that are
getting falsely picked up as function definitions, but the better fix
is to the make-dissector-reg scripts. Is it valid for there to be two
register functions in a file, or could the scripts simply limit to one
entry per file? Or someone who groks the regexes could fix them to
ignore lines that are commented out...



See checkAPIs.pl for a regex & code which removes all the comments from a .c file before doing various checks...