def parse_lines(lines: [str], units: Units, use_na: bool = True) -> [dict]:  
parsed_lines = []<EOL>prob = '<STR_LIT>'<EOL>while lines:<EOL><INDENT>raw_line = lines[<NUM_LIT:0>].strip()<EOL>line = core.sanitize_line(raw_line)<EOL>if line.startswith('<STR_LIT>'):<EOL><INDENT>if len(line) == <NUM_LIT:6>:<EOL><INDENT>prob = line<EOL>line = '<STR_LIT>'<EOL><DEDENT>elif len(line) > <NUM_LIT:6>:<EOL><INDENT>prob = line[:<NUM_LIT:6>]<EOL>line = line[<NUM_LIT:6>:].strip()<EOL><DEDENT><DEDENT>if line:<EOL><INDENT>parsed_line = (parse_na_line if use_na else parse_in_line)(line, units)<EOL>for key in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>parsed_line[key] = core.make_timestamp(parsed_line[key])  <EOL><DEDENT>parsed_line['<STR_LIT>'] = core.make_number(prob[<NUM_LIT:4>:])  <EOL>parsed_line['<STR_LIT>'] = raw_line<EOL>parsed_line['<STR_LIT>'] = prob + '<STR_LIT:U+0020>' + line if prob else line<EOL>prob = '<STR_LIT>'<EOL>parsed_lines.append(parsed_line)<EOL><DEDENT>lines.pop(<NUM_LIT:0>)<EOL><DEDENT>return parsed_lines<EOL>
Returns a list of parsed line dictionaries