# open file # declare a last_line variable # loop, reading a line at a time # check to see if line is continued # if so, append the current item to the last_line variable # set a flag that we've done this # process last_line (in another function, probably) # stick the current line in last_line # if the flag is set, empty out last_line