Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
9d79fec8
Commit
9d79fec8
authored
May 26, 1999
by
Pavel Machek
Browse files
Added notion of datetime
parent
6bd08d01
Changes
1
Hide whitespace changes
Inline
Side-by-side
conf/confbase.Y
View file @
9d79fec8
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment