diff options
Diffstat (limited to 'src/as_op.h')
| -rw-r--r-- | src/as_op.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/as_op.h b/src/as_op.h new file mode 100644 index 0000000..ec88670 --- /dev/null +++ b/src/as_op.h @@ -0,0 +1,14 @@ +#ifndef FVM_AS_OP_H_ +#define FVM_AS_OP_H_ + +enum op { + ADD, SUB, MUL, DIV, MOD, EQ, + // place holder for the end of the table + OPEND +}; +typedef enum op Op; + +Op str2op(const char *str); + +#endif + |
