0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Filters: Removed FI_COMMA, not used for 19 years.

This instruction was removed in the commit linked below
and never used ever again. Rest in peace.

commit 84c7e1943f
Author: Pavel Machek <pavel@ucw.cz>
Date:   Tue Mar 2 19:49:28 1999 +0000
This commit is contained in:
Jan Maria Matejka 2018-03-13 12:08:37 +01:00
parent 7c601e6b7b
commit 74bfd2f97c
2 changed files with 1 additions and 7 deletions

View File

@ -641,10 +641,6 @@ interpret(struct f_inst *what)
for ( ; what; what = what->next) { for ( ; what; what = what->next) {
res.type = T_VOID; res.type = T_VOID;
switch(what->fi_code) { switch(what->fi_code) {
case FI_COMMA:
TWOARGS;
break;
/* Binary operators */ /* Binary operators */
case FI_ADD: case FI_ADD:
TWOARGS_C; TWOARGS_C;
@ -1541,8 +1537,7 @@ i_same(struct f_inst *f1, struct f_inst *f2)
return 1; return 1;
switch(f1->fi_code) { switch(f1->fi_code) {
case FI_COMMA: /* fall through */ case FI_ADD: /* fall through */
case FI_ADD:
case FI_SUBTRACT: case FI_SUBTRACT:
case FI_MULTIPLY: case FI_MULTIPLY:
case FI_DIVIDE: case FI_DIVIDE:

View File

@ -18,7 +18,6 @@
#define FI__TWOCHAR(a,b) ((a<<8) | b) #define FI__TWOCHAR(a,b) ((a<<8) | b)
#define FI__LIST \ #define FI__LIST \
F(FI_COMMA, 0, ',') \
F(FI_ADD, 0, '+') \ F(FI_ADD, 0, '+') \
F(FI_SUBTRACT, 0, '-') \ F(FI_SUBTRACT, 0, '-') \
F(FI_MULTIPLY, 0, '*') \ F(FI_MULTIPLY, 0, '*') \