[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OK, stumped
From: |
Martin Pala |
Subject: |
Re: OK, stumped |
Date: |
Wed, 22 Sep 2010 12:04:55 +0200 |
The following l.l token definition should be sufficient:
--8<--
waitdate { return WAITDATE; }
--8<--
and the parser part:
--8<--
waitdate : WAITDATE NUMBER { addwaitdate($2);};
--8<--
Regards,
Martin
On Sep 22, 2010, at 2:39 AM, rory wrote:
> I've added my directive, and I get the right value for it. However, the very
> next line after my directive gets a syntax error, no matter the placement.
> Here is my patch, which should give you an idea of what I'm trying to do. thx
>
> The actual coded in validate.c is wrong... I don't think s->monitor is what I
> want, that seems to be global, and not on a per service basis, but that's
> neither here nor there at the moment.
>
>
> <patch.txt>--
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general