summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-30 21:37:14 +0100
committerubq323 <ubq323@ubq323.website>2024-06-30 21:37:14 +0100
commit4cf1e1fa0e11307005a724225ea3ae2f80a5c037 (patch)
tree600c6ddc587f011f10a125e6dd31eb07ca8137b7 /vm.h
parent83382cb1b46eb17f94f16fbbf05b5e471284d797 (diff)
add array index setting syntax
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index 1ca2c48..e878847 100644
--- a/vm.h
+++ b/vm.h
@@ -66,6 +66,7 @@ typedef enum {
OP_ARRNEW,
OP_ARRAPPEND,
+ OP_SETIDX,
} Op;
int runvm(State *S);