]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Added notion of datetime
authorPavel Machek <pavel@ucw.cz>
Wed, 26 May 1999 14:24:32 +0000 (14:24 +0000)
committerPavel Machek <pavel@ucw.cz>
Wed, 26 May 1999 14:24:32 +0000 (14:24 +0000)
conf/confbase.Y

index 2343536a134f060236a11f275e915ec24f579d20..f9293a4035f39063ee79f4ebf4f7a27d18c2e67b 100644 (file)
@@ -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