summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-17 13:42:08 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-17 13:42:08 +0200
commit4444ed2b26ae07dabbcc3e511798e2d7df3a2846 (patch)
tree9dd87654a6c26ff51038ee3e0c0a0ec56f8cc906 /filter/config.Y
parent991c36b509ad5bb96b4a28d0ec53813628e393a4 (diff)
downloadbird-4444ed2b26ae07dabbcc3e511798e2d7df3a2846.tar
bird-4444ed2b26ae07dabbcc3e511798e2d7df3a2846.zip
It is good idea to separate entries in list _somehow_. Adding/deleting
to community lists from filters now works.
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 9cdc815..3396669 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -426,8 +426,8 @@ term:
| '+' EMPTY '+' { $$ = f_new_inst(); $$->code = 'E'; $$->aux = T_PATH; }
| '-' EMPTY '-' { $$ = f_new_inst(); $$->code = 'E'; $$->aux = T_CLIST; }
| PREPEND '(' term ',' term ')' { $$ = f_new_inst(); $$->code = P('A','p'); $$->a1.p = $3; $$->a2.p = $5; }
-/* | ADD '(' term, ',' term ')' { $$ = f_new_inst(); $$->code = P('C','a'); $$->a1.p = $3; $$->a2.p = $5; $$->aux = 'a'; }
- | DELETE '(' term, ',' term ')' { $$ = f_new_inst(); $$->code = P('C','a'); $$->a1.p = $3; $$->a2.p = $5; $$->aux = 'd'; } */
+ | ADD '(' term ',' term ')' { $$ = f_new_inst(); $$->code = P('C','a'); $$->a1.p = $3; $$->a2.p = $5; $$->aux = 'a'; }
+ | DELETE '(' term ',' term ')' { $$ = f_new_inst(); $$->code = P('C','a'); $$->a1.p = $3; $$->a2.p = $5; $$->aux = 'd'; }
/* | term '.' LEN { $$->code = P('P','l'); } */