diff --git a/src/flight.re.c b/src/flight.re.c index 79b9453..0b04ed2 100644 --- a/src/flight.re.c +++ b/src/flight.re.c @@ -80,6 +80,7 @@ static int scan(struct flights *const f, * { why = "pilot unrecognized"; goto catch; } * { why = "dual unrecognized"; goto catch; } * { why = "instr unrecognized"; goto catch; } + * { why = "remarks unrecognized"; goto catch; } * { why = "planned"; goto catch; } ws* @s0 semitext+ @s1 ws* ";" => glider_reg { const union line64 key @@ -130,14 +131,15 @@ static int scan(struct flights *const f, { why = "dual time"; goto catch; } continue; } - ws* ";" => glider_err /* not PIC */ + ws* ";" => glider_remarks { flight->glider.instr_min = 0; continue; } ws* @s0 natural? @s1 ":" @t0 natural @t1 ws* ";" - => glider_err { + => glider_remarks { if(!pair_to_minutes(s0, s1, t0, t1, &flight->glider.instr_min)) { why = "instr time"; goto catch; } continue; } + // ws* @s0 semitext+ ws+ @s1 ws* ??\ "\n"? => */ } assert(0); /* Never gets here. */ catch: