diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-03-13 12:08:37 +0100 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-03-13 17:01:37 +0100 |
commit | 74bfd2f97c0a95b6fb73a67d9334e54a90695c58 (patch) | |
tree | 7b7b86bf2410dd833b1551a3b61ddf45215dcef3 | |
parent | 7c601e6b7b7696b24ce5f5715fa14dbb91c71d6e (diff) |
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 84c7e1943f0dbf896b1dd8d02a21120aa00463f4
Author: Pavel Machek <pavel@ucw.cz>
Date: Tue Mar 2 19:49:28 1999 +0000
-rw-r--r-- | filter/filter.c | 7 | ||||
-rw-r--r-- | filter/filter.h | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/filter/filter.c b/filter/filter.c index 85721dbd..023f7e2f 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -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: diff --git a/filter/filter.h b/filter/filter.h index 09f96084..1d0f389e 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -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, '*') \ |