diff options
Diffstat (limited to 'clox/src/debug.c')
-rw-r--r-- | clox/src/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clox/src/debug.c b/clox/src/debug.c index 669fc78..61deb52 100644 --- a/clox/src/debug.c +++ b/clox/src/debug.c @@ -48,6 +48,8 @@ int disassembleInstruction(Chunk *chunk, int offset) { return constantInstruction("OP_GET_GLOBAL", chunk, offset); case OP_DEFINE_GLOBAL: return constantInstruction("OP_DEFINE_GLOBAL", chunk, offset); + case OP_SET_GLOBAL: + return constantInstruction("OP_SET_GLOBAL", chunk, offset); case OP_EQUAL: return simpleInstruction("OP_EQUAL", offset); case OP_GREATER: |