parser: Omit outputting newline after final line