From 8f9a84345c147da5d398331548753d1e350ce846 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 24 Oct 2021 12:04:06 +0200 Subject: Add globals and OP_DEF operation --- src/bytecode/debug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bytecode/debug.h') diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h index 52cf431..52b237a 100755 --- a/src/bytecode/debug.h +++ b/src/bytecode/debug.h @@ -9,6 +9,7 @@ size_t disassemble_instruction(Chunk *chunk, size_t offset); static const char* ops_str[] = { // Load/store ops. [OP_CONSTANT] = "OP_CONSTANT", + [OP_DEF] = "OP_DEF", // Arithmetic ops. [OP_SUM] = "OP_SUM", [OP_SUB] = "OP_SUB", -- cgit v1.2.1