summaryrefslogtreecommitdiff
path: root/dis.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-02 17:17:01 +0100
committerubq323 <ubq323@ubq323.website>2024-07-02 17:17:01 +0100
commit033a9cbb66d65a0918e2c095d12937afb82fd4b2 (patch)
tree29d5314ff15aa677b732d2631d555c2a6b1d942d /dis.c
parent6e8123763241efcb259f68d6e0e6d3ffcbc32795 (diff)
add (each (x arr) ...) array-loop form
Diffstat (limited to 'dis.c')
-rw-r--r--dis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dis.c b/dis.c
index 0ca77e7..2d7e9a2 100644
--- a/dis.c
+++ b/dis.c
@@ -108,6 +108,7 @@ static size_t disasm_instr_h(Chunk *ch, size_t ip, int depth) {
SIMPLE_INSTR(OP_HALT, "halt")
SIMPLE_INSTR(OP_ARRNEW, "arrnew")
SIMPLE_INSTR(OP_ARRAPPEND, "arrappend")
+ SIMPLE_INSTR(OP_ARRLEN, "arrlen")
#undef SIMPLE_INSTR
default: