diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-05-28 11:10:41 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-05-28 11:10:41 +0000 |
commit | 77a163a6e36c896e6a3e814b7aa23f80b678c372 (patch) | |
tree | e72242649808776b1046d3f1919c4c08f288e67e /tools | |
parent | 28b739896d6984cd00458c9448212ffc35581d1d (diff) | |
download | wireshark-77a163a6e36c896e6a3e814b7aa23f80b678c372.tar.gz |
fix SelectionType creation for export (if the type is only exported but not used in module)
svn path=/trunk/; revision=21973
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/asn2wrs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py index b22565776d..789a72359c 100755 --- a/tools/asn2wrs.py +++ b/tools/asn2wrs.py @@ -3560,9 +3560,13 @@ class ChoiceType (Type): #print "eth_reg_sub(ident='%s')" % (ident) for e in (self.elt_list): e.eth_reg(ident, ectx, tstrip=1, parent=ident) + if ectx.conform.check_item('EXPORTS', ident + '.' + e.name): + ectx.eth_sel_req(ident, e.name) if hasattr(self, 'ext_list'): for e in (self.ext_list): e.eth_reg(ident, ectx, tstrip=1, parent=ident) + if ectx.conform.check_item('EXPORTS', ident + '.' + e.name): + ectx.eth_sel_req(ident, e.name) def sel_item(self, ident, sel, ectx): lst = self.elt_list |