From 9d79fec8dc7c5a3b7e590c00df7eadcef9e80144 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 26 May 1999 14:24:32 +0000 Subject: Added notion of datetime --- conf/confbase.Y | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/confbase.Y b/conf/confbase.Y index 2343536..f9293a4 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -30,6 +30,7 @@ CF_DECLS struct filter *f; struct f_tree *e; struct f_val v; + struct password_item *p; } %token END @@ -38,7 +39,7 @@ CF_DECLS %token SYM %token TEXT -%type expr bool pxlen +%type expr bool pxlen datetime %nonassoc '=' '<' '>' '~' ELSE IF '.' %left '+' '-' @@ -108,6 +109,10 @@ pxlen: } ; +datetime: /* Return seconds from epoch, FIXME we want be more user friendly */ + NUM { $$ = $1; } + ; + CF_CODE CF_END -- cgit v1.2.3