From fa8891ffe017ae890f0ef07915cf8b52acd7304a Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 20 Jun 2024 21:45:57 +0100 Subject: add true, false, nil keywords --- dis.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dis.c') diff --git a/dis.c b/dis.c index 0fb23f8..c4492df 100644 --- a/dis.c +++ b/dis.c @@ -44,6 +44,10 @@ void disasm_chunk(Chunk *ch) { SIMPLE_INSTR(OP_SUB, "sub") SIMPLE_INSTR(OP_MUL, "mul") SIMPLE_INSTR(OP_DIV, "div") + SIMPLE_INSTR(OP_NIL, "nil") + SIMPLE_INSTR(OP_TRUE, "true") + SIMPLE_INSTR(OP_FALSE, "false") + } } #undef SIMPLE_INSTR -- cgit v1.2.3