diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-19 23:00:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-19 23:00:12 +0000 |
commit | a9b1809b0f6c82fc9746c39cfef7e8c75db35bd4 (patch) | |
tree | 43885883f0d31e09ae9702c5982ce2d9ddd0e38b /ethereal_gen.py | |
parent | fc8e0dff519d3c5a0a15f483ec094b9aa7f011e9 (diff) | |
download | wireshark-a9b1809b0f6c82fc9746c39cfef7e8c75db35bd4.tar.gz wireshark-a9b1809b0f6c82fc9746c39cfef7e8c75db35bd4.tar.bz2 wireshark-a9b1809b0f6c82fc9746c39cfef7e8c75db35bd4.zip |
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.
svn path=/trunk/; revision=4227
Diffstat (limited to 'ethereal_gen.py')
-rw-r--r-- | ethereal_gen.py | 7 |
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 |