Remove trailing whitespace and add modelines info
svn path=/trunk/; revision=53751
This commit is contained in:
parent
ede151cbba
commit
225161b1be
@ -160,8 +160,6 @@ class WiresharkVisitor:
|
||||
self.visitTypedef(d) # who are you ?
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# visitOperation
|
||||
#
|
||||
@ -250,7 +248,6 @@ class WiresharkVisitor:
|
||||
self.visitDeclared(mt) # if declared, then check it out
|
||||
|
||||
|
||||
|
||||
#
|
||||
# visitUnion
|
||||
#
|
||||
@ -273,8 +270,6 @@ class WiresharkVisitor:
|
||||
self.visitDeclared(ct) # if declared, then check it out
|
||||
|
||||
|
||||
|
||||
|
||||
def run(tree, args):
|
||||
|
||||
st = output.Stream(sys.stdout, 4) # set indent for stream
|
||||
@ -309,10 +304,17 @@ def run(tree, args):
|
||||
# and generate some C code
|
||||
|
||||
|
||||
|
||||
|
||||
eg = wireshark_gen_C(ev.st, string.upper(nl), string.lower(nl), string.capitalize(nl) + " Dissector Using GIOP API")
|
||||
eg.genCode(ev.oplist, ev.atlist, ev.enlist, ev.stlist, ev.unlist) # pass them onto the C generator
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
#
|
||||
# Local variables:
|
||||
# c-basic-offset: 4
|
||||
# indent-tabs-mode: nil
|
||||
# End:
|
||||
#
|
||||
# vi: set shiftwidth=4 expandtab:
|
||||
# :indentSize=4:noTabs=true:
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user