summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-26 22:45:16 +0100
committerubq323 <ubq323@ubq323.website>2024-06-26 22:45:16 +0100
commita559125a2d7af771784614b7a2092cc7fb707345 (patch)
tree4e4f31197d28a41b5c62fdd19086295cf0acad84 /vm.h
parent2e62b41072738142dea9f0b5dd5d2d22455c7616 (diff)
array literals
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index 4af6300..8479623 100644
--- a/vm.h
+++ b/vm.h
@@ -62,6 +62,9 @@ typedef enum {
OP_CALL,
OP_ENDSCOPE,
+
+ OP_ARRNEW,
+ OP_ARRAPPEND,
} Op;
int runvm(State *S);