mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-21 00:32:54 +02:00
Diagnose lines that are implicitly treated as REM lines.
Diagnose REM commands that are implicitly treated as having MSG type. Properly start all lines that should start with REM, with REM.
This commit is contained in:
@@ -540,6 +540,7 @@ int ParseRem(ParsePtr s, Trigger *trig, TimeTrig *tim)
|
||||
DBufFree(&buf);
|
||||
trig->typ = MSG_TYPE;
|
||||
if (s->isnested) return E_CANT_NEST_RTYPE;
|
||||
Wprint("Missing REM type; assuming MSG");
|
||||
parsing = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user