From 9f8fe7974fb572a4da2bb8ec42b59a114509908c Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 1 Feb 2005 03:35:12 +0000 Subject: [PATCH] grammar missing optional msf for START and END. --- parse/toc.y | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/parse/toc.y b/parse/toc.y index d8d4e0f4..6bca63b8 100644 --- a/parse/toc.y +++ b/parse/toc.y @@ -1,5 +1,5 @@ /* - $Id: toc.y,v 1.1 2005/01/31 10:20:51 rocky Exp $ + $Id: toc.y,v 1.2 2005/02/01 03:35:12 rocky Exp $ Copyright (C) 2005 Rocky Bernstein @@ -137,8 +137,8 @@ opt_index_msfs: opt_index_msfs INDEX msf | /* empty */ ; subTrack_or_start_or_end: subTrack - | START - | END; + | START opt_msf + | END opt_msf ; subTracks_or_starts_or_ends: subTracks_or_starts_or_ends subTrack_or_start_or_end @@ -176,6 +176,8 @@ sLong: Integer ; msf: Integer Colon Integer Colon Integer ; +opt_msf: msf | /* empty */ ; + samples: msf | uLong ; dataLength: msf | uLong ;