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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general