Lines Matching refs:line_txt
229 def _add_enum(self, line_txt, enum_type, def_enum_val):
230 #print("Parsing enum line %s" % line_txt)
231 if '=' in line_txt:
232 (enum_name, eq_char, enum_val) = line_txt.split(None, 2)
234 enum_name = line_txt.split(',')[0]
287 def _add_struct(self, line_txt, struct_type, num):
288 #print("Parsing struct line %s" % line_txt)
290 print("Parsing struct '{' w/ line %s" % line_txt)
293 members = line_txt.strip().split(';', 1)[0] # first strip semicolon & comments