diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bytecode.h | 2 |
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, |