diff options
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 '!' |