From 81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 21 Jun 2024 16:01:46 +0100 Subject: print -> puts --- dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dis.c') 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") -- cgit v1.2.3