From a38e120e99bb24046ad3d8d3d51f07880e9b9b4c Mon Sep 17 00:00:00 2001 From: "David F. Skoll" Date: Mon, 5 Nov 2007 11:37:48 -0500 Subject: [PATCH] Fix weird parsing bug if you have a SKIP on an omitted day with a SATISFY. --- src/trigger.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/trigger.c b/src/trigger.c index ecf606b0..9dfc096b 100644 --- a/src/trigger.c +++ b/src/trigger.c @@ -419,6 +419,13 @@ int ComputeTrigger(int today, Trigger *trig, int *err) } return -1; } + + if (trig->skip == SKIP_SKIP && + IsOmitted(result, trig->localomit) && + result >= start) { + nextstart = result + 1; + } + /* Keep scanning... unless there's no point in doing it.*/ if (nextstart <= start) { if (result != -1) {