fix bug in cuesheet parsing where it would return an error if the last line of the cuesheet did not end with a newline

This commit is contained in:
Josh Coalson
2005-08-09 00:59:39 +00:00
parent ce0b3452e5
commit 0d903aabae
6 changed files with 108 additions and 5 deletions

View File

@@ -88,3 +88,6 @@ NEGATIVE cuesheets/bad.235.FLAC_leadout_offset_not_211680000.cue
pass1: parse error, line 1: "FLAC__lead-out offset does not match end-of-stream offset"
POSITIVE cuesheets/good.000.cue
POSITIVE cuesheets/good.001.cue
POSITIVE cuesheets/good.002.dos_format.cue
POSITIVE cuesheets/good.003.missing_final_newline.cue
POSITIVE cuesheets/good.004.dos_format.missing_final_newline.cue