diff options
Diffstat (limited to 'source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm')
-rw-r--r-- | source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm b/source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm index 19c8ff2563..45654fe6aa 100644 --- a/source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm +++ b/source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm @@ -91,6 +91,14 @@ sub handle_fielddescription($$$) $data->{fielddescription}->{$field} = $desc; } +sub handle_import +{ + my $data = shift @_; + my $dissectorname = shift @_; + + $data->{imports}->{$dissectorname} = join(' ', @_); +} + my %field_handlers = ( TYPE => \&handle_type, NOEMIT => \&handle_noemit, @@ -99,7 +107,8 @@ my %field_handlers = ( HF_RENAME => \&handle_hf_rename, STRIP_PREFIX => \&handle_strip_prefix, PROTOCOL => \&handle_protocol, - FIELD_DESCRIPTION => \&handle_fielddescription + FIELD_DESCRIPTION => \&handle_fielddescription, + IMPORT => \&handle_import ); sub ReadConformance($$) |