diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 764181a8..88978d77 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -391,6 +391,7 @@ else: { \>\= return GEQ; \&\& return AND; \|\| return OR; +\-\> return IMP; \[\= return PO; \=\] return PC; diff --git a/conf/confbase.Y b/conf/confbase.Y index d86c2ef5..f841c974 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -100,7 +100,7 @@ CF_DECLS } %token END CLI_MARKER INVALID_TOKEN ELSECOL DDOT -%token GEQ LEQ NEQ AND OR +%token GEQ LEQ NEQ AND OR IMP %token PO PC %token NUM ENUM %token IP4 @@ -128,7 +128,7 @@ CF_DECLS %nonassoc PREFIX_DUMMY %left AND OR -%nonassoc '=' '<' '>' '~' GEQ LEQ NEQ NMA PO PC +%nonassoc '=' '<' '>' '~' GEQ LEQ NEQ NMA IMP PO PC %left '|' '&' %left '+' '-' %left '*' '/' '%' diff --git a/doc/bird.sgml b/doc/bird.sgml index f11b4cbe..c8cebffe 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -551,7 +551,7 @@ include "tablename.conf";; Define a filter. You can learn more about filters in the following chapter. -