diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cf-lex.l | 1 | ||||
-rw-r--r-- | conf/confbase.Y | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index dcd54b81..cee0e63e 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -380,6 +380,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 2efeb29f..7b368fc6 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -98,7 +98,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 <i> NUM ENUM %token <ip4> IP4 @@ -125,7 +125,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 '!' |