@@ -240,13 +240,13 @@ def print_pseudo_code(self, ast):
240
240
"""
241
241
242
242
for line in self .convert_branch_to_pseudo_code (ast , 'class_table' , 0 ).split ("\n " ):
243
- print self .syntax_highlight (line )
243
+ print ( self .syntax_highlight (line ) )
244
244
245
245
for line in self .convert_branch_to_pseudo_code (ast , 'function_table' , 0 ).split ("\n " ):
246
- print self .syntax_highlight (line )
246
+ print ( self .syntax_highlight (line ) )
247
247
248
248
for line in self .convert_branch_to_pseudo_code (ast , 'main_op_array' , 0 ).split ("\n " ):
249
- print self .syntax_highlight (line )
249
+ print ( self .syntax_highlight (line ) )
250
250
251
251
def print_syntax_tree (self , ast ):
252
252
""" Print the syntax tree
@@ -270,11 +270,11 @@ def disassemble(self, file):
270
270
def show_help ():
271
271
""" Show the help menu """
272
272
273
- print "Usage : {0} [-tc] [-a(32|64)] [file]" .format (sys .argv [0 ])
274
- print " " * 4 + "-t Print syntax tree"
275
- print " " * 4 + "-c Print pseudocode"
276
- print " " * 4 + "-n Disables colored output"
277
- print " " * 4 + "-a Architecture (-a32 for 32bit or -a64 for 64bit)"
273
+ print ( "Usage : {0} [-tc] [-a(32|64)] [file]" .format (sys .argv [0 ]) )
274
+ print ( " " * 4 + "-t Print syntax tree" )
275
+ print ( " " * 4 + "-c Print pseudocode" )
276
+ print ( " " * 4 + "-n Disables colored output" )
277
+ print ( " " * 4 + "-a Architecture (-a32 for 32bit or -a64 for 64bit)" )
278
278
279
279
280
280
if __name__ == "__main__" :
0 commit comments