let next_line p = let l = Queue.dequeue p.lines in if l <> None then ( p.parsed_lines <- p.parsed_lines + 1; ); l