On 11/14/19 8:54 AM, Ian! D. Allen wrote:

> Please add a warning that the dates have been swapped.

Okee-doke.


commit 72403a251284bd702058a3c4648d7fd293509e11
Author: Dianne Skoll <[email protected]>
Date:   Thu Nov 14 11:09:51 2019 -0500

    Warn if "OMIT a THROUGH b" has a > b

diff --git a/src/omit.c b/src/omit.c
index f4fb8cd..dd6df09 100644
--- a/src/omit.c
+++ b/src/omit.c
@@ -453,6 +453,7 @@ DoThroughOmit(ParsePtr p, int ystart, int mstart, int 
dstart)
     end   = Julian(yend,   mend,   dend);

     if (end < start) {
+       Eprint("Warning: Swapping dates on OMIT ... THROUGH ... line");
        tmp = start;
        start = end;
        end = tmp;

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to