mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
oprs fix
This commit is contained in:
parent
eb6267defe
commit
b198e11416
2 changed files with 43 additions and 49 deletions
|
|
@ -4,6 +4,21 @@
|
|||
|
||||
#include "utils.h"
|
||||
|
||||
#define FORALL_BINOP(DEF) \
|
||||
DEF(CMD_BINOP_ADD, +) \
|
||||
DEF(CMD_BINOP_SUB, -) \
|
||||
DEF(CMD_BINOP_MULT, *) \
|
||||
DEF(CMD_BINOP_DIV, /) \
|
||||
DEF(CMD_BINOP_MOD, %) \
|
||||
DEF(CMD_BINOP_LEQ, <) \
|
||||
DEF(CMD_BINOP_LT, <=) \
|
||||
DEF(CMD_BINOP_GT, >) \
|
||||
DEF(CMD_BINOP_GEQ, >=) \
|
||||
DEF(CMD_BINOP_EQ, ==) \
|
||||
DEF(CMD_BINOP_NEQ, !=) \
|
||||
DEF(CMD_BINOP_AND, &&) \
|
||||
DEF(CMD_BINOP_OR, ||)
|
||||
|
||||
const char *read_cmd(char *ip);
|
||||
|
||||
bytefile *read_file(char *fname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue