diff options
author | Maria Matejka <mq@ucw.cz> | 2018-12-20 16:25:54 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-02-20 22:30:54 +0100 |
commit | 967b88d9388b3800efed45798542cd0b41f2b903 (patch) | |
tree | 1211b864c7283c8c02efb218e79c3fbf74f2ebad /filter/filter.h | |
parent | 8436040735b84bb185311125bfc91375f740fd86 (diff) |
Filter refactoring: The instructions are converted to the switch body by M4
Diffstat (limited to 'filter/filter.h')
-rw-r--r-- | filter/filter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter.h b/filter/filter.h index 06e87a8f..594c9511 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -51,6 +51,7 @@ struct f_static_attr { #define FI__TWOCHAR(a,b) ((a<<8) | b) #define FI__LIST \ + F(FI_NOP, 0, '0') \ F(FI_ADD, 0, '+') \ F(FI_SUBTRACT, 0, '-') \ F(FI_MULTIPLY, 0, '*') \ @@ -77,7 +78,6 @@ struct f_static_attr { F(FI_CONSTANT_INDIRECT, 0, 'C') \ F(FI_PRINT, 0, 'p') \ F(FI_CONDITION, 0, '?') \ - F(FI_NOP, 0, '0') \ F(FI_PRINT_AND_DIE, 'p', ',') \ F(FI_RTA_GET, 0, 'a') \ F(FI_RTA_SET, 'a', 'S') \ |