From 93db3b8726f6d7574b71926285e86135e822f9d3 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 29 Jan 2020 19:10:45 +0100 Subject: Rename mindex to index --- include/bytecode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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, -- cgit v1.2.3