summaryrefslogtreecommitdiff
path: root/dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'dis.c')
-rw-r--r--dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dis.c b/dis.c
index 5c22cc2..de1e3ae 100644
--- a/dis.c
+++ b/dis.c
@@ -66,7 +66,7 @@ void disasm_chunk(Chunk *ch) {
#define SIMPLE_INSTR(opcode, str) \
case opcode: puts(str); break;
SIMPLE_INSTR(OP_RET, "ret")
- SIMPLE_INSTR(OP_PRINT, "print")
+ SIMPLE_INSTR(OP_PUTS, "puts")
SIMPLE_INSTR(OP_DROP, "drop")
SIMPLE_INSTR(OP_ADD, "add")
SIMPLE_INSTR(OP_SUB, "sub")