]> mj.ucw.cz Git - umpf.git/blobdiff - cond.y
started with filtering mail
[umpf.git] / cond.y
diff --git a/cond.y b/cond.y
index 5410156de9db8915290caf5550d866641268f55f..38ec08c759112b110183dc1bebfbead8946fad5c 100644 (file)
--- a/cond.y
+++ b/cond.y
@@ -21,7 +21,7 @@ static struct tree* tree_malloc(int type);
 %token <n> NUM
 %token <str> VAR
 %token <n> KW_DISCARD
-%token <n> KW_PIPE KW_MAIL KW_COPY
+%token <n> KW_PIPE KW_MAIL KW_COPY KW_FILTER
 %token '(' ')' '{' '}' ';'
 %nonassoc KW_IF
 %nonassoc KW_ELSE
@@ -194,6 +194,7 @@ left:       /* empty */ { $$ = K_EMPTY;}
 right: /* empty */ { $$ = K_EMPTY; }
        | KW_PIPE { $$ = K_PIPE; }
        | KW_MAIL { $$ = K_MAIL; }
+       | KW_FILTER { $$ = K_FILTER; }
 ;
 
 ass_right_p:   '(' ass_right ')'       {$$ = $2; }