From 76821f9d76282419823f3c85b042ad72863d4077 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 24 Oct 2021 14:14:31 +0200 Subject: Add set! keyword and OP --- 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 783d3cf..50d12fe 100755 --- a/src/bytecode/ops.h +++ b/src/bytecode/ops.h @@ -5,7 +5,8 @@ typedef enum Ops { // Load/store ops. OP_CONSTANT, OP_DEF, - OP_GET_GLOBAL, + OP_SET, + OP_GET, // Arithmetic ops. OP_SUM, OP_SUB, -- cgit v1.2.1