From 726803c9d0c84bccc1d82d1c8aeadfc711752622 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 14 Aug 2022 20:14:43 -0700 Subject: Chapter 29.1 --- 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 079f0e9..4a39811 100644 --- a/clox/src/debug.c +++ b/clox/src/debug.c @@ -139,6 +139,8 @@ int disassembleInstruction(Chunk *chunk, int offset) { return simpleInstruction("OP_RETURN", offset); case OP_CLASS: return constantInstruction("OP_CLASS", chunk, offset); + case OP_INHERIT: + return simpleInstruction("OP_INHERIT", offset); case OP_METHOD: return constantInstruction("OP_METHOD", chunk, offset); default: -- cgit v1.2.3-54-g00ecf