aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal_gen.py
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-11-19 23:00:12 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-11-19 23:00:12 +0000
commit232c2392b353019b5578d2f5750cdc5d3ceecfc4 (patch)
tree43885883f0d31e09ae9702c5982ce2d9ddd0e38b /ethereal_gen.py
parent04f92704b9a7689e5662c6c38a8231246d3439d3 (diff)
From Frank Singleton:
- accept struct and union lists passed in via ethereal_be.py - these lists are unused until I add the templates for struct and union helper functions. So code generation is unchanged for the moment. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4227 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ethereal_gen.py')
-rw-r--r--ethereal_gen.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ethereal_gen.py b/ethereal_gen.py
index 3dd52d7e6c..4ae3d5dff1 100644
--- a/ethereal_gen.py
+++ b/ethereal_gen.py
@@ -1,6 +1,6 @@
# -*- python -*-
#
-# $Id: ethereal_gen.py,v 1.15 2001/10/31 10:40:53 guy Exp $
+# $Id: ethereal_gen.py,v 1.16 2001/11/19 23:00:12 guy Exp $
#
# ethereal_gen.py (part of idl2eth)
#
@@ -94,8 +94,9 @@ import tempfile
# 12. Implement IDL "union" code [done]
# 13. Implement support for plugins [done]
# 14. Dont generate code for empty operations (cf: exceptions without members)
-# 15. Generate code to display Enums numerically ans symbolically [done]
+# 15. Generate code to display Enums numerically and symbolically [done]
# 16. Place structs in subtrees
+# 17. Recursive struct and union handling [started - pass struct and union list to ethereal_gen.py ]
#
# Also test, Test, TEST
#
@@ -169,7 +170,7 @@ class ethereal_gen_C:
#
#
- def genCode(self,oplist, atlist, enlist): # operation and attribute lists
+ def genCode(self,oplist, atlist, enlist, stlist, unlist): # operation,attribute,enums,struct and union lists
self.genHelpers(oplist) # sneaky .. call it now, to populate the fn_hash
# so when I come to that operation later, I have the variables to