From 33372512fc32c26913c8385637d20f6d98c8376c Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Fri, 22 Oct 2021 10:34:25 +0200 Subject: Add constants operation --- src/bytecode/ops.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bytecode/ops.h') 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 @@ #define BDL_OPS_H typedef enum Ops { - OP_RETURN = 1, + OP_CONSTANT, + OP_RETURN, } Ops; #endif // BDL_OPS_H -- cgit v1.2.1