diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-05-26 16:24:32 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-05-26 16:24:32 +0200 |
commit | 9d79fec8dc7c5a3b7e590c00df7eadcef9e80144 (patch) | |
tree | 26a79092001a161dddea6127d1d3083c64969d7e /conf | |
parent | 6bd08d017b5cb2608a81c0c7c9fe8fb5da73ba60 (diff) | |
download | bird-9d79fec8dc7c5a3b7e590c00df7eadcef9e80144.tar bird-9d79fec8dc7c5a3b7e590c00df7eadcef9e80144.zip |
Added notion of datetime
Diffstat (limited to 'conf')
-rw-r--r-- | conf/confbase.Y | 7 |
1 files changed, 6 insertions, 1 deletions
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 <s> SYM %token <t> TEXT -%type <i> expr bool pxlen +%type <i> 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 |