diff options
author | Bad Diode <bd@badd10de.dev> | 2021-10-22 10:34:25 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-10-22 10:34:25 +0200 |
commit | 33372512fc32c26913c8385637d20f6d98c8376c (patch) | |
tree | 9aa30e3e376d4769e858c37c912866dfdb4b4a62 /src/bytecode/ops.h | |
parent | eeff5e273f22aa28e81ab080e9ffdce85ac394b8 (diff) | |
download | bdl-33372512fc32c26913c8385637d20f6d98c8376c.tar.gz bdl-33372512fc32c26913c8385637d20f6d98c8376c.zip |
Add constants operation
Diffstat (limited to 'src/bytecode/ops.h')
-rw-r--r-- | src/bytecode/ops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h index f7001ad..79092ab 100644 --- a/src/bytecode/ops.h +++ b/src/bytecode/ops.h | |||
@@ -2,7 +2,8 @@ | |||
2 | #define BDL_OPS_H | 2 | #define BDL_OPS_H |
3 | 3 | ||
4 | typedef enum Ops { | 4 | typedef enum Ops { |
5 | OP_RETURN = 1, | 5 | OP_CONSTANT, |
6 | OP_RETURN, | ||
6 | } Ops; | 7 | } Ops; |
7 | 8 | ||
8 | #endif // BDL_OPS_H | 9 | #endif // BDL_OPS_H |