diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-06 23:41:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:27 -0500 |
commit | 3e905b583fa4b04eca332aeda94e9a5a0e2b4ae7 (patch) | |
tree | f57bc79c79092044aec029bcd6a41f27b7f67264 /source4/build/pidl/Parse/Pidl/Ethereal/Conformance.pm | |
parent | 200a67f812d3fc7b22d5f8e9234f67e357c5f5e3 (diff) | |
download | samba-3e905b583fa4b04eca332aeda94e9a5a0e2b4ae7.tar.gz samba-3e905b583fa4b04eca332aeda94e9a5a0e2b4ae7.tar.bz2 samba-3e905b583fa4b04eca332aeda94e9a5a0e2b4ae7.zip |
r9168: Fix subcontext handling
Support fixed-size arrays
Give some more nicer warnings for not-supported IDL constructions such as inline arrays
Fix signed int-handling
(This used to be commit 2f1fcf3bc7a29e3089f1edafd45c70488f3cd565)
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($$) |