Add LINEPARSE macro for parsing text into lines
Fix some brokeness in the HLS parser