def read_line(self, fid):
lin = '<STR_LIT:#>'<EOL>while lin[<NUM_LIT:0>] == '<STR_LIT:#>':<EOL><INDENT>lin = fid.readline().strip()<EOL>if lin == '<STR_LIT>':<EOL><INDENT>return lin<EOL><DEDENT><DEDENT>return lin<EOL>
Read a line from a file string and check it isn't either empty or commented before returning.