From 57ed9226c06b5fbe016e62857fe9662c51da3dfd Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 2 Jun 2022 22:27:43 -0700 Subject: Chapter 25.3 & 25.4 --- clox/src/debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clox/src/debug.c') diff --git a/clox/src/debug.c b/clox/src/debug.c index f175030..750fdb9 100644 --- a/clox/src/debug.c +++ b/clox/src/debug.c @@ -118,6 +118,8 @@ int disassembleInstruction(Chunk *chunk, int offset) { return offset; } + case OP_CLOSE_UPVALUE: + return simpleInstruction("OP_CLOSE_UPVALUE", offset); case OP_RETURN: return simpleInstruction("OP_RETURN", offset); default: -- cgit v1.2.3-54-g00ecf