import re
import sys
-
debug = False
left_paren += 1
li = line[left_paren:]
right_paren = line.find(')')
- if right_paren > 0 and right_paren > left_paren and line[right_paren:].find('(') >= 0:
+ if right_paren > 0 and right_paren > left_paren and line[
+ right_paren:].find('(') >= 0:
fname = line[:right_paren]
fname = fname.lstrip(' ').lstrip('*').lstrip(' ').rstrip(' ')
if len(fname) > 0:
td_line.append(l[rightcbrace + 1:])
else:
td_line.append(l)
- if len(l) > 0 and l[-1] == ';' and(not td_struct or td_level == 0):
+ if len(l) > 0 and l[-1] == ';' and (not td_struct or td_level == 0):
td_line = ' '.join(td_line)
td_line = td_line[:-1]
if len(td_line) > 0:
if field_val.type.code == gdb.TYPE_CODE_INT:
val = int(field_val)
res = (match == val)
- elif (field_val.type.code == gdb.TYPE_CODE_STRING) or (field_val.type.code == gdb.TYPE_CODE_ARRAY):
+ elif (field_val.type.code == gdb.TYPE_CODE_STRING
+ ) or (field_val.type.code == gdb.TYPE_CODE_ARRAY):
val = str(field_val)
res = (match == val)
elif (field_val.type.code == gdb.TYPE_CODE_TYPEDEF):