monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing something


From: Martin Pala
Subject: Re: missing something
Date: Thu, 16 Sep 2010 22:10:11 +0200

You need to add token to lexer (l.l)

Regards,
Martin

On Sep 16, 2010, at 9:47 PM, rory wrote:

> It's been awhile since I've done the yacc thing in monit, and I can't figure 
> out why I'm getting a syntax error after adding a directive.
> 
> I've added to p.y
> 
> a "WAITDATE" token
> 
> under statement, I've added " | setwaitdate
> 
> and the setwaitdate itself
> 
> setwaitdate : SET WAITDATE NUMBER {
>    Run.waitdate = $3;
> }
> 
> I've also declared my "waitdate" in monitor.h
> 
> However, I'm still getting a syntax error and I'm not sure why. What am I 
> missing?
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]