diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-03-14 12:43:10 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-03-14 12:43:10 +0100 |
commit | cf1860349182503523975fb8084d514407a75fb4 (patch) | |
tree | 24fbf737c0204f763ae0a29705706d4786308c3d /conf | |
parent | f16ad72ed76c398f081b97b09d56f4b199822464 (diff) |
New syntax for bgp_path
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cf-lex.l | 3 | ||||
-rw-r--r-- | conf/confbase.Y | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index edca7a25..c68a42e4 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -200,6 +200,9 @@ WHITE [ \t] \&\& return AND; \|\| return OR; +\[\= return PO; +\=\] return PC; + %% static int diff --git a/conf/confbase.Y b/conf/confbase.Y index fa178d87..e6401f47 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -45,6 +45,7 @@ CF_DECLS %token END CLI_MARKER INVALID_TOKEN %token GEQ LEQ NEQ AND OR +%token PO PC %token <i> NUM ENUM %token <i32> RTRID %token <a> IPA @@ -57,7 +58,7 @@ CF_DECLS %type <px> prefix prefix_or_ipa %nonassoc PREFIX_DUMMY -%nonassoc '=' '<' '>' '~' '.' GEQ LEQ NEQ AND OR +%nonassoc '=' '<' '>' '~' '.' GEQ LEQ NEQ AND OR PO PC %left '+' '-' %left '*' '/' '%' %left '!' |