Move line_callback to sv_parse_chunk so it is done once.
Use line callback to emit lines seen before parsing