mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +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:
parent
7c601e6b7b
commit
74bfd2f97c
@ -641,10 +641,6 @@ interpret(struct f_inst *what)
|
||||
for ( ; what; what = what->next) {
|
||||
res.type = T_VOID;
|
||||
switch(what->fi_code) {
|
||||
case FI_COMMA:
|
||||
TWOARGS;
|
||||
break;
|
||||
|
||||
/* Binary operators */
|
||||
case FI_ADD:
|
||||
TWOARGS_C;
|
||||
@ -1541,8 +1537,7 @@ i_same(struct f_inst *f1, struct f_inst *f2)
|
||||
return 1;
|
||||
|
||||
switch(f1->fi_code) {
|
||||
case FI_COMMA: /* fall through */
|
||||
case FI_ADD:
|
||||
case FI_ADD: /* fall through */
|
||||
case FI_SUBTRACT:
|
||||
case FI_MULTIPLY:
|
||||
case FI_DIVIDE:
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#define FI__TWOCHAR(a,b) ((a<<8) | b)
|
||||
#define FI__LIST \
|
||||
F(FI_COMMA, 0, ',') \
|
||||
F(FI_ADD, 0, '+') \
|
||||
F(FI_SUBTRACT, 0, '-') \
|
||||
F(FI_MULTIPLY, 0, '*') \
|
||||
|
Loading…
Reference in New Issue
Block a user