summaryrefslogtreecommitdiff
path: root/dis.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-21 16:01:46 +0100
committerubq323 <ubq323@ubq323.website>2024-06-21 16:01:46 +0100
commit81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 (patch)
treeac788aa65d938f6fe1967863e5fe2296e6eacd7b /dis.c
parent377822b957c442b2ff0882b8325033487037be2b (diff)
print -> puts
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")