aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-29 19:10:45 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-29 19:10:45 +0100
commit93db3b8726f6d7574b71926285e86135e822f9d3 (patch)
treeea523db3806876239799693b67831c6c962910e4 /include
parent2ce9ebc39011831f9bd73511f696f1dd567ac0b9 (diff)
Rename mindex to index
Diffstat (limited to 'include')
-rw-r--r--include/bytecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bytecode.h b/include/bytecode.h
index c0930ad..602d8a6 100644
--- a/include/bytecode.h
+++ b/include/bytecode.h
@@ -18,7 +18,7 @@ typedef enum {
TSL_OPCODE_SETV, /* set variable to the value at the top of the stack */
TSL_OPCODE_LIST, /* create a list using values from the stack */
TSL_OPCODE_MAP, /* create a map using values from the stack */
- TSL_OPCODE_MINDEX, /* map index. pop two values from stack, where the first value will be a map and the second a key */
+ TSL_OPCODE_INDEX, /* list/map/string index. pop two values from stack, where the first value will be a list/map/string and the second a key/index */
TSL_OPCODE_CALLF, /* call the function at the top of the stack using the next N values at the top of the stack as arguments */
TSL_OPCODE_ADD,
TSL_OPCODE_SUB,