diff options
author | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-05-28 11:10:41 +0000 |
---|---|---|
committer | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-05-28 11:10:41 +0000 |
commit | 07291185733039af6695b8753108effbe8649a98 (patch) | |
tree | e72242649808776b1046d3f1919c4c08f288e67e /tools | |
parent | a58f0bea8dadf4c4475d9e536b1e74bc0bd7330a (diff) |
fix SelectionType creation for export (if the type is only exported but not used in module)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21973 f5534014-38df-0310-8fa8-9805f1628bb7
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 |