def convertToFree(stream, length_limit=True):
linestack = []<EOL>for line in stream:<EOL><INDENT>convline = FortranLine(line, length_limit)<EOL>if convline.is_regular:<EOL><INDENT>if convline.isContinuation and linestack: <EOL><INDENT>linestack[<NUM_LIT:0>].continueLine()<EOL><DEDENT>for l in linestack:<EOL><INDENT>yield str(l)<EOL><DEDENT>linestack = []<EOL><DEDENT>linestack.append(convline)<EOL><DEDENT>for l in linestack:<EOL><INDENT>yield str(l)<EOL><DEDENT>
Convert stream from fixed source form to free source form.