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/debug.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bytecode/debug.h') diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h index dc0585b..889ae03 100755 --- a/src/bytecode/debug.h +++ b/src/bytecode/debug.h @@ -10,7 +10,8 @@ static const char* ops_str[] = { // Load/store ops. [OP_CONSTANT] = "OP_CONSTANT", [OP_DEF] = "OP_DEF", - [OP_GET_GLOBAL] = "OP_GET_GLOBAL", + [OP_SET] = "OP_SET", + [OP_GET] = "OP_GET", // Arithmetic ops. [OP_SUM] = "OP_SUM", [OP_SUB] = "OP_SUB", -- cgit v1.2.1