Another diagnostic message.

This commit is contained in:
Dianne Skoll
2022-03-02 15:25:27 -05:00
parent 1453be83b2
commit 6d2bbbd7e2
3 changed files with 119 additions and 104 deletions
+4
View File
@@ -499,6 +499,10 @@ int ParseRem(ParsePtr s, Trigger *trig, TimeTrig *tim, int save_in_globals)
}
}
if (trig->y != NO_YR && trig->m != NO_MON && trig->d != NO_DAY && trig->until != NO_UNTIL && trig->rep == NO_REP) {
Eprint("Warning: Useless use of UNTIL with fully-specified date and no *rep");
}
/* Set scanfrom to default if not set explicitly */
if (trig->scanfrom == NO_DATE) {
trig->scanfrom = JulianToday;